aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-25 18:25:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-25 18:25:24 +0000
commit737d131e5e7a795ef771f987d7b02cbf4fa670d6 (patch)
tree0a7acc833d9ee4fa873ec4c15ff60b692bef420e /Makefile.custom
parent52226771760063acdc89ef4f8e531b595ae4232b (diff)
downloadbusybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.tar.gz
busybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.tar.bz2
busybox-w32-737d131e5e7a795ef771f987d7b02cbf4fa670d6.zip
support "#!/bin/busybox"-style wrappers. Needed for SELinux.
Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom
index a011d53fd..5562ba396 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -12,6 +12,17 @@ endif
12ifeq ($(CONFIG_INSTALL_APPLET_HARDLINKS),y) 12ifeq ($(CONFIG_INSTALL_APPLET_HARDLINKS),y)
13INSTALL_OPTS:= --hardlinks 13INSTALL_OPTS:= --hardlinks
14endif 14endif
15ifeq ($(CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS),y)
16ifeq ($(CONFIG_INSTALL_SH_APPLET_SYMLINK),y)
17INSTALL_OPTS:= --sw-sh-sym
18endif
19ifeq ($(CONFIG_INSTALL_SH_APPLET_HARDLINK),y)
20INSTALL_OPTS:= --sw-sh-hard
21endif
22ifeq ($(CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER),y)
23INSTALL_OPTS:= --scriptwrapper
24endif
25endif
15install: $(srctree)/applets/install.sh busybox busybox.links 26install: $(srctree)/applets/install.sh busybox busybox.links
16 $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \ 27 $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \
17 $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS) 28 $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS)