That's because we now prune what tools the recipes can see on the
host, and cc isn't on the list. Override cc to be ${BUILD_CC} and
this will work.
Ross
On Mon, 21 Jan 2019 at 16:14, Johannes Humpert
<[email protected]> wrote:
>
> Hallo Yocto,
>
> Is it possible to use old versions of the recipe with newer yocto releases?
> For example, I am currently trying to compile a 2015.01 version of the U-boot
> recipe with the Yocto Sumo release, but unfortunately it throws a compilation
> error that oe-runmake failed. Could anyone please guide me with this issue.
>
> The build config is as follows:
>
> Build Configuration:
> BB_VERSION = "1.37.0"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "universal-4.8"
> TARGET_SYS = "arm-poky-linux-gnueabi"
> MACHINE = "arm-cortex-a8"
> DISTRO = "poky"
> DISTRO_VERSION = "2.5"
> TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa8"
> TARGET_FPU = "hard"
> meta
> meta-poky
> meta-yocto-bsp
> meta-oe = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
>
> The error log message is as follows:
>
> DEBUG: Executing shell function do_compile
> NOTE: make -j 2 CROSS_COMPILE=arm-poky-linux-gnueabi-
> CC=arm-poky-linux-gnueabi-gcc
> --sysroot=/source/yocto/build/tmp/work/arm_cortex_a8-poky-linux-gnueabi/u-boot/v2015.01+gitAUTOINC+92fa7f53f1-r0/recipe-sysroot
> V=1 KCFLAGS=-fgnu89-inline am335x_evm_config
> make -f ./scripts/Makefile.build obj=scripts/basic
> cc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -o scripts/basic/fixdep scripts/basic/fixdep.c
> /bin/sh: cc: command not found
> make[1]: *** [scripts/Makefile.host:91: scripts/basic/fixdep] Error 127
> make: *** [Makefile:390: scripts_basic] Error 2
> ERROR: oe_runmake failed
> WARNING:
> /source/yocto/build/tmp/work/arm_cortex_a8-poky-linux-gnueabi/u-boot/v2015.01+gitAUTOINC+92fa7f53f1-r0/temp/run.do_compile.20414:1
> exit 1 from 'exit 1'
> ERROR: Function failed: do_compile (log file is located at
> /source/yocto/build/tmp/work/arm_cortex_a8-poky-linux-gnueabi/u-boot/v2015.01+gitAUTOINC+92fa7f53f1-r0/temp/log.do_compile.20414)
>
> Thanks,
> -Johannes
>
>
> --
> _______________________________________________
> yocto mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/yocto
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto