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.