Hi Rick, Thanks very much for the patch. I've updated CVS with this change and uploaded the patch to the GPP.
Regards, Stuart On 22/04/11 23:17, Rick Foos wrote: > Please update busybox version, and/or add patch for Makefile. > > Having problem with Makefile in busybox-1.11.2. > > Occurs whenever you make menuconfig in busybox. Hidden when first > build doesn't do configure, but after ./ltib --configure busybox fails > to build. Had this problem before, on other builds, and finally took > some time to fix it... > > make -C /home/rick/lpc3250/ltib/rpm/BUILD/busybox-1.11.2 menuconfig > 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin/' > Makefile:421: *** mixed implicit and normal rules. Stop. > > The two changes needed were identified, and the fixes backported from > busybox-1.18.4/Makefile > > Thanks, > Rick > [email protected] > > Makefile:421: *** mixed implicit and normal rules. Stop. > > The two changes needed were identified, and the fixes backported from > busybox-1.18.4/Makefile > > diff --exclude CVS -uNr busybox-1.11.2/Makefile > busybox-1.11.2.modified/Makefile > --- busybox-1.11.2/Makefile 2011-04-22 16:52:55.435379155 -0500 > +++ busybox-1.11.2.modified/Makefile 2011-04-22 17:01:25.428207714 -0500 > @@ -418,7 +418,12 @@ > -include $(srctree)/arch/$(ARCH)/Makefile > export KBUILD_DEFCONFIG > > -config %config: scripts_basic outputmakefile FORCE > +config: scripts_basic outputmakefile FORCE > + $(Q)mkdir -p include > + $(Q)$(MAKE) $(build)=scripts/kconfig $@ > + $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease > + > +%config: scripts_basic outputmakefile FORCE > $(Q)mkdir -p include > $(Q)$(MAKE) $(build)=scripts/kconfig $@ > $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease > @@ -431,7 +436,7 @@ > ifeq ($(KBUILD_EXTMOD),) > # Additional helpers built in scripts/ > # Carefully list dependencies so we do not try to build scripts twice > -# in parrallel > +# in parallel > PHONY += scripts > scripts: scripts_basic include/config/MARKER > $(Q)$(MAKE) $(build)=$(@) > @@ -1257,9 +1262,13 @@ > $(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@) > > # Modules > -/ %/: prepare scripts FORCE > +%/: prepare scripts FORCE > $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ > $(build)=$(build-dir) > +/: prepare scripts FORCE > + $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ > + $(build)=$(build-dir) > + > %.ko: prepare scripts FORCE > $(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \ > $(build)=$(build-dir) $(@:.ko=.o) > > : > > > > _______________________________________________ > LTIB home page: http://ltib.org > > Ltib mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/ltib _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
