As usual, I forgot "svn del"...
[oweals/busybox.git] / Makefile.custom
index c0984e17a9915a20314ba770d377eeaae73e6703..5682a4b75ea75ea5ed895ced7e697003d127cbe9 100644 (file)
@@ -1,35 +1,11 @@
-### # defconfig is allyesconfig minus any features that are specialized enough
-### # or cause enough behavior change that the user really should switch them on
-### # manually if that's what they want.  Sort of "maximum sane config".
-
-### defconfig: scripts/config/conf
-###    @./scripts/config/conf -y $(CONFIG_CONFIG_IN) > /dev/null
-###    @$(SED) -i -r -e "s/^(CONFIG_(DEBUG.*|STATIC|SELINUX|NITPICK|BUILD_(AT_ONCE|LIBBUSYBOX)|FEATURE_(DEVFS|FULL_LIBBUSYBOX|SHARED_BUSYBOX|MTAB_SUPPORT|CLEAN_UP|UDHCP_DEBUG)|INSTALL_NO_USR))=.*/# \1 is not set/" .config
-###    @./scripts/config/conf -o $(CONFIG_CONFIG_IN) > /dev/null
-
-### allbareconfig: scripts/config/conf
-###    @./scripts/config/conf -y $(CONFIG_CONFIG_IN) > /dev/null
-###    @$(SED) -i -r -e "s/^(CONFIG_(DEBUG|STATIC|SELINUX|DEVFSD|NC_GAPING_SECURITY_HOLE|BUILD_AT_ONCE)).*/# \1 is not set/" .config
-###    @$(SED) -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config
-###    @echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config
-###    @yes n | ./scripts/config/conf -o $(CONFIG_CONFIG_IN) > /dev/null
-
-### hosttools:
-###    $(Q)cp .config .config.bak || noold=yea
-###    $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" allnoconfig
-###    $(Q)mv .config .config.in
-###    $(Q)(grep -v CONFIG_SED .config.in ; \
-###     echo "CONFIG_SED=y" ; ) > .config
-###    $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" oldconfig include/bb_config.h
-###    $(Q)$(MAKE) CC="$(HOSTCC)" CFLAGS="$(HOSTCFLAGS) $(INCS)" busybox
-###    $(Q)[ -f .config.bak ] && mv .config.bak .config || rm .config
-###    mv busybox sed
-###    @echo "Now do: $(MAKE) SED=$(objtree)/sed <target>"
+# ==========================================================================
+# Build system
+# ==========================================================================
 
 %.bflt: %_unstripped
        $(CROSS_COMPILE)elf2flt $(ELF2FLTFLAGS) $< -o $@
 
-busybox.links: $(srctree)/applets/busybox.mkll include/bb_config.h $(srctree)/include/applets.h
+busybox.links: $(srctree)/applets/busybox.mkll $(srctree)/include/applets.h
        $(Q)-$(SHELL) $^ >$@
 
 .PHONY: install