build system: fix "make install" to skip /usr when configured so
Fix regression in BusyBox 1.18.0 where the NO_USR config option no longer bites for "make install". The busybox.mkll script stumbles without these lines and as a result *always* creates /usr/ symlinks. Signed-off-by: Joachim Nilsson <troglobit@vmlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2161bd701a
commit
dc160039ad
@ -56,6 +56,11 @@ s - suid type:
|
||||
# define APPLET_NOFORK(name,main,l,s,name2) { #name, #main, l, s, 1, 1 },
|
||||
#endif
|
||||
|
||||
#if ENABLE_INSTALL_NO_USR
|
||||
# define _BB_DIR_USR_BIN _BB_DIR_BIN
|
||||
# define _BB_DIR_USR_SBIN _BB_DIR_SBIN
|
||||
#endif
|
||||
|
||||
|
||||
INSERT
|
||||
IF_TEST(APPLET_NOFORK([, test, _BB_DIR_USR_BIN, _BB_SUID_DROP, test))
|
||||
|
Loading…
Reference in New Issue
Block a user