Wind River Support Network


LIN9-5977 : The "conf.o" component is not compiled during build of the kernel 4.1 SDK

Created: Dec 8, 2017    Updated: Dec 3, 2018
Resolved Date: Dec 25, 2017
Found In Version: unknown
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Kernel


When building a project, with the kernel-dev layer, the conf.o kernel object from scripts/kconfig/ is not exported in the SDK.

The expected location is:

Running oldconfig against the SDK tree, re-generates the missing conf.o 

-bash-4.3$ pwd
-bash-4.3$ ls scripts/kconfig | grep conf.o
-bash-4.3$ ls scripts/kconfig | grep conf.o
-bash-4.3$ make oldconfig
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --oldconfig Kconfig
# configuration written to .config
-bash-4.3$ ls scripts/kconfig | grep conf.o

This is viewed as a regression, as in wrlinux 5, conf.o was generated from the beginning and included in the SDK archive. In the project it was located under:


and was exported properly in the SDK.

Under wrlinux 8, bitbake_build/tmp/work/qemux86_64-wrs-linux/linux-windriver/4.1-r0/linux-qemux86_64-standard-build/scripts/kconfig/conf.o

Steps to Reproduce

1. configure a project with:

 --with-board=qemux86-64 --enable-rootfs=glibc-std --enable-kernel=standard --with-layer=wr-kernel/kernel-dev

2. run make all, make export-sdk

3. check the SDK_INSTALL_PATH/sysroots/core2-64-wrs-linux/usr/src/kernelscripts/kconfig path

(for comparison purposes, the wrlinux 5 project may be configured with similar BSP/kernel/rootfs/layer configuration)

Other Downloads

Live chat