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-virtualization/hv-cfg | |
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-virtualization/hv-cfg')
-rw-r--r-- | recipes-virtualization/hv-cfg/hv-cfg_git.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-virtualization/hv-cfg/hv-cfg_git.bb b/recipes-virtualization/hv-cfg/hv-cfg_git.bb new file mode 100644 index 00000000..e4f18e07 --- /dev/null +++ b/recipes-virtualization/hv-cfg/hv-cfg_git.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | DESCRIPTION = "Hypervisor Config" | ||
2 | SECTION = "hv-cfg" | ||
3 | LICENSE = "BSD" | ||
4 | PR = "r6" | ||
5 | |||
6 | LIC_FILES_CHKSUM = " \ | ||
7 | file://p2041rdb/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ | ||
8 | file://p3041ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ | ||
9 | file://p4080ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ | ||
10 | file://p5020ds/LICENSE;md5=96dd72f26e9bb861de5c76c60e35e1bc \ | ||
11 | " | ||
12 | |||
13 | DEPENDS += "dtc-native" | ||
14 | |||
15 | # this package is specific to the machine itself | ||
16 | INHIBIT_DEFAULT_DEPS = "1" | ||
17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
18 | |||
19 | inherit deploy | ||
20 | |||
21 | SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git;nobranch=1" | ||
22 | SRCREV = "b9287b07390d17bfba936a806a72b91b89507c22" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | do_install () { | ||
27 | make install | ||
28 | |||
29 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
30 | if [ "t1042d4rdb" = "${M}" ] || [ "t1040d4rdb" = "${M}" ];then | ||
31 | M=t1040rdb | ||
32 | fi | ||
33 | install -d ${D}/boot/hv-cfg | ||
34 | cp -r ${S}/${M}/${M}/* ${D}/boot/hv-cfg | ||
35 | } | ||
36 | |||
37 | do_deploy () { | ||
38 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
39 | if [ "t1042d4rdb" = "${M}" ] || [ "t1040d4rdb" = "${M}" ];then | ||
40 | M=t1040rdb | ||
41 | fi | ||
42 | install -d ${DEPLOYDIR}/hv-cfg | ||
43 | cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/hv-cfg | ||
44 | } | ||
45 | addtask deploy after do_install | ||
46 | |||
47 | PACKAGES += "${PN}-image" | ||
48 | FILES_${PN}-image += "/boot" | ||
49 | |||
50 | COMPATIBLE_HOST_qoriq-ppc = ".*" | ||
51 | COMPATIBLE_HOST ?= "(none)" | ||
52 | ALLOW_EMPTY_${PN} = "1" | ||