[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] About building busybox-1.11.2 on Fedora 14
From: |
Stuart Hughes |
Subject: |
Re: [Ltib] About building busybox-1.11.2 on Fedora 14 |
Date: |
Sun, 24 Apr 2011 19:05:23 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 |
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
> address@hidden
>
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib