diff options
author | Denis Vlasenko | 2007-08-25 18:25:24 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-08-25 18:25:24 +0000 |
commit | 737d131e5e7a795ef771f987d7b02cbf4fa670d6 (patch) | |
tree | 0a7acc833d9ee4fa873ec4c15ff60b692bef420e /Makefile.custom | |
parent | 52226771760063acdc89ef4f8e531b595ae4232b (diff) | |
download | busybox-737d131e5e7a795ef771f987d7b02cbf4fa670d6.zip busybox-737d131e5e7a795ef771f987d7b02cbf4fa670d6.tar.gz |
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
Diffstat (limited to 'Makefile.custom')
-rw-r--r-- | Makefile.custom | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom index a011d53..5562ba3 100644 --- a/Makefile.custom +++ b/Makefile.custom @@ -12,6 +12,17 @@ endif ifeq ($(CONFIG_INSTALL_APPLET_HARDLINKS),y) INSTALL_OPTS:= --hardlinks endif +ifeq ($(CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS),y) +ifeq ($(CONFIG_INSTALL_SH_APPLET_SYMLINK),y) +INSTALL_OPTS:= --sw-sh-sym +endif +ifeq ($(CONFIG_INSTALL_SH_APPLET_HARDLINK),y) +INSTALL_OPTS:= --sw-sh-hard +endif +ifeq ($(CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER),y) +INSTALL_OPTS:= --scriptwrapper +endif +endif install: $(srctree)/applets/install.sh busybox busybox.links $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \ $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS) |