diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-23 16:02:25 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:59 -0300 |
commit | 6a868a671472d454b407a165fc31c5f7dfe783c6 (patch) | |
tree | 7bd2ab13a04d14215264cc992501970cacfb20ef /recipes-extended/merge-files | |
parent | 62e212fe4812a6c726df4ac8e77d4a77e0e54247 (diff) | |
download | meta-freescale-6a868a671472d454b407a165fc31c5f7dfe783c6.tar.gz |
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended/merge-files')
-rw-r--r-- | recipes-extended/merge-files/merge-files/merge/README | 7 | ||||
-rw-r--r-- | recipes-extended/merge-files/merge-files_1.0.bb | 25 |
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/merge-files/merge-files/merge/README b/recipes-extended/merge-files/merge-files/merge/README new file mode 100644 index 00000000..8f0d85af --- /dev/null +++ b/recipes-extended/merge-files/merge-files/merge/README | |||
@@ -0,0 +1,7 @@ | |||
1 | This package is used to merge specified files into rootfs. | ||
2 | |||
3 | Steps: | ||
4 | 1> copy files to recipes-*/merge-files/merge-files/merge/ | ||
5 | 2> add 'IMAGE_INSTALL += "merge-files"' into rootfs recipe | ||
6 | 3> bitbake <rootfs_image_type> | ||
7 | |||
diff --git a/recipes-extended/merge-files/merge-files_1.0.bb b/recipes-extended/merge-files/merge-files_1.0.bb new file mode 100644 index 00000000..f64b909f --- /dev/null +++ b/recipes-extended/merge-files/merge-files_1.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "Merge prebuilt/extra files into rootfs" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | inherit allarch | ||
7 | |||
8 | SRC_URI = "file://merge" | ||
9 | |||
10 | MERGED_DST ?= "${ROOT_HOME}" | ||
11 | do_install () { | ||
12 | install -d ${D}/${MERGED_DST} | ||
13 | find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -not -name README \ | ||
14 | -exec cp -fr '{}' ${D}/${MERGED_DST}/ \; | ||
15 | find ${WORKDIR}/merge/ -maxdepth 1 -mindepth 1 -exec rm -fr '{}' \; | ||
16 | } | ||
17 | do_unpack[nostamp] = "1" | ||
18 | do_install[nostamp] = "1" | ||
19 | do_configure[noexec] = "1" | ||
20 | do_compile[noexec] = "1" | ||
21 | |||
22 | FILES_${PN} = "/*" | ||
23 | ALLOW_EMPTY_${PN} = "1" | ||
24 | INSANE_SKIP_${PN} = "debug-files dev-so" | ||
25 | |||