Bug 1156 - BSP formfactors not being picked up
Summary: BSP formfactors not being picked up
Status: RESOLVED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.1 M2
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-06-09 22:01 UTC by Tom Zanussi
Modified: 2011-06-24 10:08 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Zanussi 2011-06-09 22:01:11 UTC
While changing the formfactor for a new board to turn on the touchscreen setting I found that it didn't give the expected results, and digging further showed it was because the machconfig that ended up being used was the empty default, instead of the one in the layer as it should have been.

The output of log.do_unpack indeed shows that the machconfig being used isn't the one in the layer, but rather in meta:

NOTE: Unpacking /usr/local/src/yocto/utrace/meta/recipes-bsp/formfactor/files/machconfig to /usr/local/src/yocto/utrace/build/tmp/work/sugarbay-poky-linux/formfactor-0.0-r20/

poky/master: ed44d29b9004ee355860d0d469dfe191dfcef184
meta-intel/master: 01d1a545477cbc1b2a1da5b66edb52fd9e783206
Comment 1 Paul Eggleton 2011-06-10 10:16:19 UTC
The issue here is the way I did the formfactor bbappend in meta-yocto. If we change that to use FILESEXTRAPATHS method and then use FILESEXTRAPATHS_prepend := in all layers above it then it works. Will submit a few patches to sort this out.
Comment 2 Paul Eggleton 2011-06-16 03:48:02 UTC
Patches have been merged in meta-yocto (e1f6ebba3ab2fc8a469c1d96fc6d4c4b8f16845c) and meta-intel (76d1178ba1a43cf6457c89717134aeb9f1275fae).