diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/internal/slibtool_uninstall_impl.h | 1 | ||||
-rw-r--r-- | src/logic/slbt_exec_uninstall.c | 3 | ||||
-rw-r--r-- | src/skin/slbt_skin_uninstall.c | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/slibtool_uninstall_impl.h b/src/internal/slibtool_uninstall_impl.h index b78bf37..bef25c5 100644 --- a/src/internal/slibtool_uninstall_impl.h +++ b/src/internal/slibtool_uninstall_impl.h @@ -8,6 +8,7 @@ extern const struct argv_option slbt_uninstall_options[]; enum uninstall_tags { TAG_UNINSTALL_HELP, TAG_UNINSTALL_VERSION, + TAG_UNINSTALL_SYSROOT, TAG_UNINSTALL_FORCE, TAG_UNINSTALL_RMDIR, TAG_UNINSTALL_VERBOSE, diff --git a/src/logic/slbt_exec_uninstall.c b/src/logic/slbt_exec_uninstall.c index 7e1d37a..0bfeaa3 100644 --- a/src/logic/slbt_exec_uninstall.c +++ b/src/logic/slbt_exec_uninstall.c @@ -326,6 +326,9 @@ int slbt_exec_uninstall( for (entry=meta->entries; entry->fopt || entry->arg; entry++) { if (entry->fopt) { switch (entry->tag) { + case TAG_UNINSTALL_SYSROOT: + break; + case TAG_UNINSTALL_HELP: flags |= SLBT_UNINSTALL_HELP; break; diff --git a/src/skin/slbt_skin_uninstall.c b/src/skin/slbt_skin_uninstall.c index e34c81e..02b3599 100644 --- a/src/skin/slbt_skin_uninstall.c +++ b/src/skin/slbt_skin_uninstall.c @@ -8,6 +8,9 @@ const struct argv_option slbt_uninstall_options[] = { {"version", 0,TAG_UNINSTALL_VERSION,ARGV_OPTARG_NONE,0,0,0, "display version information"}, + {"sysroot", 0,TAG_UNINSTALL_SYSROOT,ARGV_OPTARG_REQUIRED,0,0,"<sysroot>", + "reference only: the target's sysroot directory"}, + {"force", 'f',TAG_UNINSTALL_FORCE,ARGV_OPTARG_NONE,0,0,0, "force file removal"}, |