From: Bernhard Reutner-Fischer Date: Fri, 17 Nov 2006 13:54:29 +0000 (-0000) Subject: - Set INSTALL_OPTS according to the config. X-Git-Tag: 1_4_0~396 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8bfd215fb259dbf16b6c30f5853840d319a7555f;p=oweals%2Fbusybox.git - Set INSTALL_OPTS according to the config. --- diff --git a/Makefile.custom b/Makefile.custom index 11141e71f..13da38e76 100644 --- a/Makefile.custom +++ b/Makefile.custom @@ -9,6 +9,12 @@ busybox.links: $(srctree)/applets/busybox.mkll $(objtree)/include/autoconf.h $(s $(Q)-$(SHELL) $^ >$@ .PHONY: install +ifeq ($(CONFIG_INSTALL_APPLET_SYMLINKS),y) +INSTALL_OPTS:= --symlinks +endif +ifeq ($(CONFIG_INSTALL_APPLET_HARDLINKS),y) +INSTALL_OPTS:= --hardlinks +endif install: $(srctree)/applets/install.sh busybox busybox.links $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \ $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS)