projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193bcf3
)
- Set INSTALL_OPTS according to the config.
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 17 Nov 2006 13:54:29 +0000
(13:54 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 17 Nov 2006 13:54:29 +0000
(13:54 -0000)
Makefile.custom
patch
|
blob
|
history
diff --git
a/Makefile.custom
b/Makefile.custom
index 11141e71f3eccc6f612208dcf99f29f9b3a12a79..13da38e76f006c4c08a136b05ed8469e53504a4f 100644
(file)
--- 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)