[Buildroot] build hangs when building kernel
Arnout Vandecappelle
arnout at mind.be
Mon Jan 7 23:34:15 UTC 2013
On 07/01/13 17:16, Sagaert Johan wrote:
> Hi
>
> Using the latest pull:
>
> The build hangs when it is building the kernel
>
> snip....
>
> LD [M] fs/fuse/cuse.ko
> LD [M] fs/fuse/fuse.ko
> LD [M] lib/crc-ccitt.ko
> LD [M] fs/nls/nls_iso8859-15.ko
> make[1]: Leaving directory `/home/buildroot12git/output/build/linux-3.4.24'
> PATH="/home/buildroot12git/output/host/bin:/home/buildroot12git/output/host/usr/bin:/home/buildroot12git/output/host/usr/sbin/:/usr/
> local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/buildroot12git/output/host/usr/bin"
> PERLLIB="/home/buildroot12git/output/host/usr/lib/perl" /usr/bin/make -j8 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm
> INSTALL_MOD_PATH=/home/buildroot12git/output/target CROSS_COMPILE="
> /home/buildroot12git/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-" DEPMOD=/home/buildroot12git/output/host/usr/sbin/depmod
> -C /home/buildroot12git/output/build/linux-3.4.24 tx53.dtb
> make[1]: Entering directory `/home/buildroot12git/output/build/linux-3.4.24'
> DTC arch/arm/boot/tx53.dtb
> DTC: dts->dtb on file "arch/arm/boot/dts/tx53.dts"
> make[1]: Leaving directory `/home/buildroot12git/output/build/linux-3.4.24'
> # dtbs moved from arch/RCH/boot to arch/RCH/boot/dts since 3.8-rc1
> cat>> /home/buildroot12git/output/build/linux-3.4.24/arch/arm/boot/zImage
>
>
>
> It looks like the missing cat parameter is causing this.
Peter,
The $(wildcard ) doesn't work for LINUX_APPEND_DTB, because the .dtb
doesn't exist yet at that point.
It works for LINUX_INSTALL_DTB because that one is only expanded after
the kernel (and the .dtb) has already been built.
Simplest option is to change it into a shell condition. Untested patch
follows.
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list