aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorGravatar Clayton Shotwell <clshotwe@rockwellcollins.com>2015-05-21 14:48:35 -0500
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2015-07-01 19:10:03 +0200
commitb7ee7e1e13fa4a680e8b228bd158e7aa53fe342a (patch)
tree1c351c9e423a876a7caab32cfa83795f5807b64e /Makefile.custom
parentc9091d8947b6f0e28485eadab11d737e4c910430 (diff)
downloadbusybox-b7ee7e1e13fa4a680e8b228bd158e7aa53fe342a.tar.gz
busybox-b7ee7e1e13fa4a680e8b228bd158e7aa53fe342a.tar.bz2
applets: Add installation of individual binaries
Adding support to install individual binaries if the option is enabled. This also installs the shared libbusybox.so.* library. Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom
index f8a12831d..891c9ced7 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -28,6 +28,10 @@ ifeq ($(CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER),y)
INSTALL_OPTS:= --scriptwrapper
endif
endif
+ifeq ($(CONFIG_FEATURE_INDIVIDUAL),y)
+INSTALL_OPTS:= --binaries
+LIBBUSYBOX_SONAME:= 0_lib/libbusybox.so.$(BB_VER)
+endif
install: $(srctree)/applets/install.sh busybox busybox.links
$(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \
$(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS)