Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 16:54:29 +0300
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 16:54:29 +0300
commit8bfd215fb259dbf16b6c30f5853840d319a7555f (patch)
tree9174e4edc43f89d53268a8c9ccb92e2ddbbcdb65 /Makefile.custom
parent193bcf381eaf63aaf92ab8165b5091222b2ab0e6 (diff)
- Set INSTALL_OPTS according to the config.
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom6
1 files changed, 6 insertions, 0 deletions
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)