diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-17 13:54:29 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-17 13:54:29 +0000 |
commit | 43fdfa1f76c66c8362598f1a593664e6b86c9ca3 (patch) | |
tree | 9174e4edc43f89d53268a8c9ccb92e2ddbbcdb65 /Makefile.custom | |
parent | 3d1219c7a7fed95265d2d0a1d50ee329beeeb399 (diff) | |
download | busybox-w32-43fdfa1f76c66c8362598f1a593664e6b86c9ca3.tar.gz busybox-w32-43fdfa1f76c66c8362598f1a593664e6b86c9ca3.tar.bz2 busybox-w32-43fdfa1f76c66c8362598f1a593664e6b86c9ca3.zip |
- Set INSTALL_OPTS according to the config.
git-svn-id: svn://busybox.net/trunk/busybox@16563 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile.custom')
-rw-r--r-- | Makefile.custom | 6 |
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 | |||
9 | $(Q)-$(SHELL) $^ >$@ | 9 | $(Q)-$(SHELL) $^ >$@ |
10 | 10 | ||
11 | .PHONY: install | 11 | .PHONY: install |
12 | ifeq ($(CONFIG_INSTALL_APPLET_SYMLINKS),y) | ||
13 | INSTALL_OPTS:= --symlinks | ||
14 | endif | ||
15 | ifeq ($(CONFIG_INSTALL_APPLET_HARDLINKS),y) | ||
16 | INSTALL_OPTS:= --hardlinks | ||
17 | endif | ||
12 | install: $(srctree)/applets/install.sh busybox busybox.links | 18 | install: $(srctree)/applets/install.sh busybox busybox.links |
13 | $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \ | 19 | $(Q)DO_INSTALL_LIBS="$(strip $(LIBBUSYBOX_SONAME) $(DO_INSTALL_LIBS))" \ |
14 | $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS) | 20 | $(SHELL) $< $(CONFIG_PREFIX) $(INSTALL_OPTS) |