From da8f43fd34d59a83ee8314dae5850db95ac1bdad Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 9 Oct 2006 19:47:38 +0000 Subject: build system: fix for non-i386 builds --- Makefile.custom | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'Makefile.custom') 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 " +# ========================================================================== +# Build system +# ========================================================================== %.bflt: %_unstripped $(CROSS_COMPILE)elf2flt $(ELF2FLTFLAGS) $< -o $@ -- cgit v1.2.3