Bug 4743 - yocto-kernel tool fails when config BBLAYERS behind BBLAYERS_NON_REMOVABLE in bblayers.conf
Summary: yocto-kernel tool fails when config BBLAYERS behind BBLAYERS_NON_REMOVABLE in...
Status: RESOLVED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.5
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-06-18 09:09 UTC by Ning Zhang
Modified: 2013-07-09 15:22 UTC (History)
6 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 Ning Zhang 2013-06-18 09:09:59 UTC
poky: master: 1dd643b142c69ac9035e29bff11d02201638dc65

steps:
1. create a new bsp layer.
   yocto-bsp create myqemux86 qemu  (with all default options)
2. add "meta-myqemux86" to conf/bblayers.conf, such as below:
BBLAYERS ?= " \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  /home/yocto/poky/meta-yocto-bsp \
  /home/yocto/20130618/meta-myqemux86 \
"

BBLAYERS_NON_REMOVABLE ?= " \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  "

3. input "yocto-kernel config add myqemux86 CONFIG_MISC_DEVICES=y" to add a new configuration, it pass.

But, if in step2, set BBLAYERS behind BBLAYERS_NON_REMOVABLE, then step3 will fail.

conf/bblayers.conf

BBLAYERS_NON_REMOVABLE ?= " \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  "

BBLAYERS ?= " \
  /home/yocto/poky/meta \
  /home/yocto/poky/meta-yocto \
  /home/yocto/poky/meta-yocto-bsp \
  /home/yocto/20130618/meta-myqemux86 \
"

execute: "yocto-kernel config add myqemux86 CONFIG_MISC_DEVICES=y"
result is:
Unable to find the BSP layer for machine myqemux86.
Please make sure it is listed in bblayers.conf

I think since this is a config file, there should not be any dependance between different parameters.
Comment 1 Tom Zanussi 2013-07-03 20:16:30 UTC
Posted to poky mailing list.
Comment 2 Tom Zanussi 2013-07-09 15:22:00 UTC
Fixed in poky/master:

f8c8c7d78aa8a65b8e6466d4dab419b1d608e026

Fixed in poky/dylan:

2d79d0488528d31159d5f2ede088e80f30d22559