summaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-09 19:47:38 +0000
committerDenis Vlasenko2006-10-09 19:47:38 +0000
commitda8f43fd34d59a83ee8314dae5850db95ac1bdad (patch)
treefb6e0cd8e8b8fd7341b9a3ceb3970580eed0867c /Makefile.custom
parentca3c981c07ade7f8fd50ba4bb452a2fadaddc326 (diff)
downloadbusybox-da8f43fd34d59a83ee8314dae5850db95ac1bdad.zip
busybox-da8f43fd34d59a83ee8314dae5850db95ac1bdad.tar.gz
build system: fix for non-i386 builds
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 c0984e1..1733232 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 $@