aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom30
1 files changed, 3 insertions, 27 deletions
diff --git a/Makefile.custom b/Makefile.custom
index c0984e17a..1733232e0 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -1,30 +1,6 @@
-### # 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 $@