X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.custom;h=13da38e76f006c4c08a136b05ed8469e53504a4f;hb=8bfd215fb259dbf16b6c30f5853840d319a7555f;hp=11141e71f3eccc6f612208dcf99f29f9b3a12a79;hpb=193bcf381eaf63aaf92ab8165b5091222b2ab0e6;p=platform%2Fupstream%2Fbusybox.git diff --git a/Makefile.custom b/Makefile.custom index 11141e7..13da38e 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)