mdev.txt: explain the meaning of a leading "-"
[oweals/busybox.git] / Makefile.custom
index 891c9ced7f329f7b9e358d14c9a565c245890f2b..6f679c4e12b4cb7bc139104aa321f035db387261 100644 (file)
@@ -11,6 +11,9 @@ busybox.cfg.nosuid: $(srctree)/applets/busybox.mksuid $(objtree)/include/autocon
        $(Q)-SUID="DROP" $(SHELL) $^ > $@
 
 .PHONY: install
+ifeq ($(CONFIG_INSTALL_APPLET_DONT),y)
+INSTALL_OPTS:= --none
+endif
 ifeq ($(CONFIG_INSTALL_APPLET_SYMLINKS),y)
 INSTALL_OPTS:= --symlinks
 endif
@@ -46,6 +49,9 @@ ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
        @echo
 endif
 
+install-noclobber: INSTALL_OPTS+=--noclobber
+install-noclobber: install
+
 uninstall: busybox.links
        rm -f $(CONFIG_PREFIX)/bin/busybox
        for i in `cat busybox.links` ; do rm -f $(CONFIG_PREFIX)$$i; done