mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
kernel-dev: join mkdir commands with -p
To make it more obvious which directories are needed, pass only these to *mkdir* and use the option `-p` to create the missing parents. (From yocto-docs rev: 4ddcedca4b09e2c051b33a40659ffce1db2984f5) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
3656b0f473
commit
9f0fd0ad0e
@@ -383,11 +383,7 @@ home directory:
|
||||
|
||||
1. *Create Structure*: Create the layer's structure::
|
||||
|
||||
$ mkdir meta-mylayer
|
||||
$ mkdir meta-mylayer/conf
|
||||
$ mkdir meta-mylayer/recipes-kernel
|
||||
$ mkdir meta-mylayer/recipes-kernel/linux
|
||||
$ mkdir meta-mylayer/recipes-kernel/linux/linux-yocto
|
||||
$ mkdir -p meta-mylayer/conf meta-mylayer/recipes-kernel/linux/linux-yocto
|
||||
|
||||
The ``conf`` directory holds your configuration files, while the
|
||||
``recipes-kernel`` directory holds your append file and eventual
|
||||
@@ -1044,9 +1040,7 @@ Section.
|
||||
additional structure to your layer using the following commands::
|
||||
|
||||
$ cd ~/meta-mylayer
|
||||
$ mkdir recipes-kernel
|
||||
$ mkdir recipes-kernel/linux
|
||||
$ mkdir recipes-kernel/linux/linux-yocto
|
||||
$ mkdir -p recipes-kernel recipes-kernel/linux/linux-yocto
|
||||
|
||||
Once you have created this
|
||||
hierarchy in your layer, you can move the patch file using the
|
||||
|
||||
Reference in New Issue
Block a user