[OE-core] KBUILD_DEFCONFIG issue

Steffen.Pankratz at elektrobit.com Steffen.Pankratz at elektrobit.com
Wed May 6 07:10:55 UTC 2015


Hi

I am in the process of creating a board support package (1) for NVIDIAs Jetson TK1 board (2).

In my kernel recipe I am using 'KBUILD_DEFCONFIG = "tegra_defconfig"' but the build failed always.

I think the issue is in do_kernel_metadata (meta/classes/kernel-yocto.bbclass), if no defconfig exists, the config specified in KBUILD_DEFCONFIG is never copied.
Attached you will find a possible patch for this issue.
Feedback is welcome.

Another, probably unrelated problem I face right now is, that basically most of the options of the tegra_defconfig get removed by kconf_check.
The kernel gets build, there are no warnings that things got removed but in the files in .meta/cfg/standard/jetson-tk1  I see for example:

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

Any ideas?


Kind regards
-Steffen

(1) https://bitbucket.org/kratz00/meta-jetson-tk1/src
(2) http://elinux.org/JetsonTK1

--
Steffen Pankratz
Expert, Software Integration & Services

EB - Driving the Future of Software
Phone:  +49 9131 7701-6605
Fax: +49 9131 7701 6333
steffen.pankratz at elektrobit.com
http://automotive.elektrobit.com/
PGP-Key: http://keyserver.elektrobit.com/

Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany Managing Directors Alexander Kocher, Gregor Zink Register Court Fürth HRB 488



----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixed-KBUILD_DEFCONFIG-feature-if-no-defconfig-file-.patch
Type: application/octet-stream
Size: 1209 bytes
Desc: 0001-Fixed-KBUILD_DEFCONFIG-feature-if-no-defconfig-file-.patch
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150506/a8842d7e/attachment-0002.obj>


More information about the Openembedded-core mailing list