Compile option to avoid using /usr directory, patch by Bastian Blank
This commit is contained in:
parent
77c60e5c66
commit
f2ba45e339
@ -41,6 +41,11 @@
|
|||||||
#define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
|
#define APPLET_ODDNAME(a,b,c,d,e) {a,b,c,d},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_INSTALL_NO_USR
|
||||||
|
#define _BB_DIR_USR_BIN _BB_DIR_BIN
|
||||||
|
#define _BB_DIR_USR_SBIN _BB_DIR_SBIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_TEST
|
#ifdef CONFIG_TEST
|
||||||
|
@ -157,6 +157,17 @@ config EXTRA_CFLAGS_OPTIONS
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
menu 'Installation Options'
|
||||||
|
|
||||||
|
config CONFIG_INSTALL_NO_USR
|
||||||
|
bool "Don't use /usr"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Disable use of /usr. Don't activate this option if you don't know,
|
||||||
|
that you really want this behaviour.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
source archival/Config.in
|
source archival/Config.in
|
||||||
source console-tools/Config.in
|
source console-tools/Config.in
|
||||||
source debianutils/Config.in
|
source debianutils/Config.in
|
||||||
|
Loading…
Reference in New Issue
Block a user