On 18/06/2014 09:38, Ruud den Bekker wrote:

L.S.,

 

I followed the directions on http://www.codeproject.com/Articles/774826/Adding-rd-party-components-to-Yocto-OpenEmbedded-L

to add an example project to my yocto-poky build tree.

 

a strange thing happens:

when using bitbake bbexample-lt  for “qemuarm” or “edgerouter”, it builds ok.

however,if I select “beaglebone” for “MACHINE”, I get a configure error in my log file:

 

“configure:3024: checking for C compiler version

configure:3033: arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/home/ruud/poky-daisy-11.0.0/build/tmp/sysroots/beaglebone --version >&5

/home/ruud/poky-daisy-11.0.0/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/bbexample-lt/1.0-r0/bbexample-1.0/configure: line 3035: arm-poky-linux-gnueabi-gcc: command not found”

 

However, the building e.g. a “core-image-minimal” or my added “core-image-mono” for a “beaglebone” builds fine and I can use the RFS on a “real” hardware board.

 


Hi Ruud,

I checked this through for the Beaglebone and it builds OK.

- git cloned meta-ti
- setup a new build tree
- MACHINE ??= 'beaglebone' in local.conf
- Added meta-example layer to bblayers.conf

$ bitbake bbexample

...

BB_VERSION        = "1.23.1"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "beaglebone"
DISTRO            = "poky"
DISTRO_VERSION    = "1.6+snapshot-20140618"
TUNE_FEATURES     = "arm armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "master:b5a928af721026795be7b7f68b2dd577408afbe5"
meta-oe           = "master:8316933b400ae6fda688637fcc3e202b38a8e12b"
meta-ti           = "master:f351978d956e199032db5302696587969f5c428e"
meta-example      = "master:5ee4f20b041bc886b1d2d913ac11814057317634"

Given you're having other issues too, it might be worth you trying a simple build in a clean tree?

Regards,

Alex

What can be the cause of this?

 

Best regards,

 

Ruud

 

Ruud den Bekker

Cordis Automation B.V.

High Tech Campus 9

5656 AE Eindhoven