"); //-->
dtbs build faild on kernel 3.14.28
huang@V3-771:~/git/fsl/linux-2.6-imx$ make ARCH=arm dtbs V=1
make -f scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
make -f /home/huang/git/fsl/linux-2.6-imx/scripts/Makefile.asm-generic \
src=asm obj=arch/arm/include/generated/asm
make -f /home/huang/git/fsl/linux-2.6-imx/scripts/Makefile.asm-generic \
src=uapi/asm obj=arch/arm/include/generated/uapi/asm
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/dtc
make -f scripts/Makefile.build obj=scripts/genksyms
make -f scripts/Makefile.build obj=scripts/mod
make -f scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= dtbs
arm-linux-gnueabihf-gcc -E -Wp,-MD,arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.pre.tmp -nostdinc -I/home/huang/git/fsl/linux-2.6-imx/arch/arm/boot/dts -I/home/huang/git/fsl/linux-2.6-imx/arch/arm/boot/dts/include -I/home/huang/git/fsl/linux-2.6-imx/drivers/of/testcase-data -undef -D__DTS__ -x assembler-with-cpp -o arch/arm/boot/dts/.imx6dl-cubox-i.dtb.dts.tmp arch/arm/boot/dts/imx6dl-cubox-i.dts ; /home/huang/git/fsl/linux-2.6-imx/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/imx6dl-cubox-i.dtb -b 0 -i arch/arm/boot/dts/ -d arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.dtc.tmp arch/arm/boot/dts/.imx6dl-cubox-i.dtb.dts.tmp ; cat arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.pre.tmp arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.dtc.tmp > arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d
In file included from arch/arm/boot/dts/imx6dl-cubox-i.dts:6:0:
arch/arm/boot/dts/imx6dl.dtsi:11:50: fatal error: dt-bindings/interrupt-controller/irq.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/boot/dts/imx6dl-cubox-i.dtb] Error 1
make: *** [dtbs] Error 2
huang@V3-771:~/git/fsl/linux-2.6-imx$
Hello all
I checkout kernel source from git://git.freescale.com/imx/linux-2.6-imx.git and branch is remotes/origin/imx_3.14.28_1.0.0_ga
and use linaro gcc
when I try to build the dtb file , I got the errors like this
how can I compile imx6q-arm2.dts file ?
do the following to fix it
$ cd arch/arm/boot/dts/include/
$ rm dt-bindings
$ ln -s ../../../../../include/dt-bindings
Warm Regards,
Rizwan M
*博客内容为网友个人发布,仅代表博主个人观点,如有侵权请联系工作人员删除。