diff options
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 26 |
1 files 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 @@ | |||
631 | to store your patches and configuration files (e.g. | 631 | to store your patches and configuration files (e.g. |
632 | <filename>linux-yocto-myproject</filename>). | 632 | <filename>linux-yocto-myproject</filename>). |
633 | </para></listitem> | 633 | </para></listitem> |
634 | <listitem><para>Make sure you have either a | ||
635 | <filename>defconfig</filename> file or configuration | ||
636 | fragment files. | ||
637 | When you use the <filename>linux-yocto-custom.bb</filename> | ||
638 | recipe, you must specify a configuration. | ||
639 | If you do not have a <filename>defconfig</filename> file, | ||
640 | you can run the following: | ||
641 | <literallayout class='monospaced'> | ||
642 | $ make defconfig | ||
643 | </literallayout> | ||
644 | After running the command, copy the resulting | ||
645 | <filename>.config</filename> to the | ||
646 | <filename>files</filename> directory as "defconfig" and | ||
647 | then add it to the | ||
648 | <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> | ||
649 | variable in the recipe. | ||
650 | </para></listitem> | ||
634 | <listitem><para>Edit the following variables in your recipe | 651 | <listitem><para>Edit the following variables in your recipe |
635 | as appropriate for your project: | 652 | as appropriate for your project: |
636 | <itemizedlist> | 653 | <itemizedlist> |
637 | <listitem><para><ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>: | 654 | <listitem><para><ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>: |
638 | The <filename>SRC_URI</filename> should be a Git | 655 | The <filename>SRC_URI</filename> should specify |
639 | repository that uses one of the supported Git fetcher | 656 | a Git repository that uses one of the supported Git |
640 | protocols (i.e. <filename>file</filename>, | 657 | fetcher protocols (i.e. <filename>file</filename>, |
641 | <filename>git</filename>, <filename>http</filename>, | 658 | <filename>git</filename>, <filename>http</filename>, |
642 | and so forth). | 659 | and so forth). |
660 | The <filename>SRC_URI</filename> variable should | ||
661 | also specify either a <filename>defconfig</filename> | ||
662 | file or some configuration fragment files. | ||
643 | The skeleton recipe provides an example | 663 | The skeleton recipe provides an example |
644 | <filename>SRC_URI</filename> as a syntax reference. | 664 | <filename>SRC_URI</filename> as a syntax reference. |
645 | </para></listitem> | 665 | </para></listitem> |