From 0120391b046dc61d35b3250a47f226f52887d727 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 26 May 2015 14:17:20 -0600 Subject: kernel-dev: Added new requirement for working with yocto-linux-custom.bb Fixes [YOCTO #6611] Added a new step to the "Working With Your Own Sources" section so that the user is aware of needing to provide a defconfig file or configuration fragments to the SRC_URI variable when working with the yocto-linux-custom.bb recipe. (From yocto-docs rev: 7a24ea3ce2f732baebbdb4fb42d458901ff056d1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-common.xml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 618d60cbaf..e5e26bc513 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml @@ -631,15 +631,35 @@ to store your patches and configuration files (e.g. linux-yocto-myproject). + Make sure you have either a + defconfig file or configuration + fragment files. + When you use the linux-yocto-custom.bb + recipe, you must specify a configuration. + If you do not have a defconfig file, + you can run the following: + + $ make defconfig + + After running the command, copy the resulting + .config to the + files directory as "defconfig" and + then add it to the + SRC_URI + variable in the recipe. + Edit the following variables in your recipe as appropriate for your project: SRC_URI: - The SRC_URI should be a Git - repository that uses one of the supported Git fetcher - protocols (i.e. file, + The SRC_URI should specify + a Git repository that uses one of the supported Git + fetcher protocols (i.e. file, git, http, and so forth). + The SRC_URI variable should + also specify either a defconfig + file or some configuration fragment files. The skeleton recipe provides an example SRC_URI as a syntax reference. -- cgit v1.2.3-54-g00ecf