[yocto] Kernel config fragments not applied (requiring linux-yocto.inc)

Oliver urnen81 at yahoo.es
Fri Sep 18 07:00:25 PDT 2015


Hello,
I have a simple recipe intending to change the configuration of the raspberrypi kernel(meta-raspberrypi).By requiring linux-yocto.inc:http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-kernel/linux/linux.inc#n8I understand it will incorporate the fragment kernel features. Which might be my first misunderstanding.

My recipe looks like:###FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://rndis.cfg"
###
and the fragment file rndis.cfg:###FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://rndis.cfg"
###
The configuration does not get into any .config.The only log I could get is the following file, it makes me think somehow that at least, it is trying. Recipe & fragment file is recognized.
Note that I have tried the same configuration via menuconfig and it works fine, so the fragment seems to me valid:
~/raspberry/build-rpi-base/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi/3.12.26+gitf0[...]/linux/.meta/cfg/standard/raspberrypi/merge_log.txt#####
Using .meta/cfg/linux-raspberrypi/defconfig.sanitized as base
Merging .meta/cfg/linux-raspberrypi/rndis.cfg.sanitized
  HOSTCC  scripts/basic/fixdep
  GEN     /home/oliver/raspberry/build-rpi-base/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi/3.12.26+gitf03cd5e1012d3fe8314a944879308cf0f3d9e29b-r0/linux-raspberrypi-standard-build/Makefile
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --allnoconfig Kconfig
#
# configuration written to .config
#
Value requested for CONFIG_NET_CDCETHER not in final .config
Requested value:  CONFIG_NET_CDCETHER=y
Actual value:     

Value requested for CONFIG_NET_RNDIS_HOST not in final .config
Requested value:  CONFIG_NET_RNDIS_HOST=y
Actual value:     
###

Any hint how can I dig more into this problem?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150918/02cb4d0a/attachment.html>


More information about the yocto mailing list