Bug 10657

Summary: Provide support for menuconfig
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Juro Bystricky <juro.bystricky>
Component: meta-zephyrAssignee: Juro Bystricky <juro.bystricky>
Status: VERIFIED FIXED QA Contact: oscar lopez arandas <oscarx.lopez.arandas>
Severity: enhancement    
Priority: Medium+ CC: jose.perez.carranza
Version: 2.3   
Target Milestone: 2.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 10655    
Bug Blocks:    
Attachments:
Description Flags
log none

Description Juro Bystricky 2016-11-14 23:16:59 UTC
Provide support to configure Zephyr image features and components via menuconfig.
Zephyr images can be natively configured via menuconfig, so allow this using bitbake as well.


This should be implemented in similar fashion to other cases already using menuconfig (kernel, busybox):

$ bitbake my-zephyr-image -c menuconfig
Comment 2 oscar lopez arandas 2017-11-30 17:06:37 UTC
the support is proved for the image zephyr via menuconfig.

Build Configuration:
BB_VERSION        = "1.37.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-16.04"
TARGET_SYS        = "i586-yocto-elf"
MACHINE           = "qemux86"
DISTRO            = "zephyr"
DISTRO_VERSION    = "1.0"
TUNE_FEATURES     = "m32 i586"
meta-yocto-bsp    = "master:702f4692a25c670d7d14da106f545b86e55473ce"
meta-zephyr       = "HEAD:56fbee01e805481deec99b7367b74287383a0e05"

STEPS: follow the tips for building zephyr  image in this link
1- https://wiki.yoctoproject.org/wiki/TipsAndTricks/BuildingZephyrImages

 I used test case for verify this bug  Test_bitbake_menuconfig

2- $ clone poky
3- $ cd poky  
4- $ source oe-init-build-env && cd build 
5 -set below in local.conf 
	MACHINE = "qemux86"
6- $ bitbake linux-yocto -c kernel_configme -f
7- $ bitbake linux-yocto -c menuconfig
8- Once menuconfig launches, use the interface to navigate through the selections and
   enable option "64-bit kernel"
9- Save changes and set name of the file as "test.config"
============================================================================
log in attachament
Comment 3 oscar lopez arandas 2017-11-30 17:07:18 UTC
Created attachment 4137 [details]
log