summaryrefslogtreecommitdiff
path: root/scripts/bitbake-prserv-tool
diff options
context:
space:
mode:
authorChristopher Larson <kergoth@gmail.com>2015-06-24 15:17:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-27 22:42:00 +0100
commit8227172d05fb394d79ff83d3c36f5208ebebf92c (patch)
tree6035a90fc37ce1ee42fcaf42eecf1351367ca3f3 /scripts/bitbake-prserv-tool
parentbec92899f5324a4423b4ee70365eaa5dfb6891a6 (diff)
downloadopenembedded-core-8227172d05fb394d79ff83d3c36f5208ebebf92c.tar.gz
openembedded-core-8227172d05fb394d79ff83d3c36f5208ebebf92c.tar.bz2
openembedded-core-8227172d05fb394d79ff83d3c36f5208ebebf92c.zip
recipetool: add appendsrcfile(s) sub-commands
This adds the `appendsrcfile` and `appendsrcfiles` sub-commands, which let the user add or replace one or more files in the recipe sources, either in a path relative to `S` or `WORKDIR`. Each file gets added to `SRC_URI` as a file:// URI, using the subdir= parameter to specify the destination directory. Examples: # Adds our defconfig as file://defconfig. If it's already in SRC_URI, it # won't be duplicated. recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig recipetool appendsrcfiles --workdir meta-mylayer linux-mel defconfig # Does the same, handling the different local filename recipetool appendsrcfile --workdir meta-mylayer linux-mel defconfig.mine defconfig # Adds our device tree files to the source tree recipetool appendsrcfiles --destdir arch/arm/boot/dts meta-mylayer linux-mel *.dts Of course, for the latter example to be of use, the new dts files would need to be added to `KERNEL_DEVICETREE` as well, and depending on the kernel, `DEFCONFIG` or `KERNEL_DEFCONFIG` may need to be set. Cc: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/bitbake-prserv-tool')
0 files changed, 0 insertions, 0 deletions