[yocto] Using old version of Recipe with new Yocto Release

Johannes Humpert humpertjohannes83 at gmail.com
Mon Jan 21 05:37:09 PST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190121/d399b52e/attachment-0001.html>


More information about the yocto mailing list