Bug 10657 - Provide support for menuconfig
Summary: Provide support for menuconfig
Status: VERIFIED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-zephyr (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.3 M2
Assignee: Juro Bystricky
QA Contact: oscar lopez arandas
URL:
Whiteboard:
Depends on: 10655
Blocks:
  Show dependency tree
 
Reported: 2016-11-14 23:16 UTC by Juro Bystricky
Modified: 2017-11-30 17:07 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments
log (123.04 KB, application/octet-stream)
2017-11-30 17:07 UTC, oscar lopez arandas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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