[OE-core] [PATCH] u-boot.inc: Enable EXTERNALSRC build

Burton, Ross ross.burton at intel.com
Thu Jul 28 13:02:20 UTC 2016


On 27 July 2016 at 23:21, Manjukumar Matha <
manjukumar.harthikote-matha at xilinx.com> wrote:

> This patch enables building u-boot using externalsrc
>

The commit summary should mention that it's enabling out-of-tree builds, of
which supporting externalsrc is a side effect.

However this doesn't work for me with beaglebone:

|   arm-poky-linux-gnueabi-gcc
 --sysroot=/data/poky-master/tmp-glibc/sysroots/beaglebone -E
-Wp,-MD,./.u-boot.cfg.d -D__KERNEL__ -D__UBOOT__   -Iinclude
 -I/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include

-I/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/arch//include
-include
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/linux/kconfig.h
 -nostdinc -isystem
/data/poky-master/tmp-glibc/sysroots/x86_64-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/6.1.1/include
-include
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/u-boot/u-boot.lds.h
-DCPUDIR=  -ansi -DDO_DEPS_ONLY -D__ASSEMBLY__ -x assembler-with-cpp -P -dM
-E -o u-boot.cfg
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/config.h
| In file included from
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/configs/am335x_evm.h:19:0,
|                  from
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/config.h:6:
|
/data/poky-master/tmp-glibc/work/beaglebone-poky-linux-gnueabi/u-boot/v2016.03+gitAUTOINC+df61a74e68-r0/git/include/configs/ti_am335x_common.h:22:27:
fatal error: asm/arch/omap.h: No such file or directory
|  #include <asm/arch/omap.h>
|                            ^
| compilation terminated.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160728/e725e577/attachment-0002.html>


More information about the Openembedded-core mailing list