diff options
Diffstat (limited to 'recipes-virtualization/hv-cfg/hv-cfg_git.bb')
-rw-r--r-- | recipes-virtualization/hv-cfg/hv-cfg_git.bb | 46 |
1 files changed, 46 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 0000000..2c6bb85 --- /dev/null +++ b/recipes-virtualization/hv-cfg/hv-cfg_git.bb | |||
@@ -0,0 +1,46 @@ | |||
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 | COMPATIBLE_HOST_fslmachine = ".*" | ||
19 | COMPATIBLE_HOST ?= "(none)" | ||
20 | |||
21 | inherit deploy | ||
22 | |||
23 | SRCREV = "d037ab9d5b9ecd58e10a7dac2b601d781ed9b5bf" | ||
24 | SRC_URI = "git://git.freescale.com/ppc/sdk/hv-cfg.git" | ||
25 | |||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | do_install () { | ||
29 | make install | ||
30 | |||
31 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
32 | install -d ${D}/boot/hv-cfg | ||
33 | cp -r ${S}/${M}/${M}/* ${D}/boot/hv-cfg | ||
34 | } | ||
35 | |||
36 | do_deploy () { | ||
37 | M=`echo ${MACHINE} | sed s/-64b//g` | ||
38 | install -d ${DEPLOYDIR}/hv-cfg | ||
39 | cp -r ${S}/${M}/${M}/* ${DEPLOYDIR}/hv-cfg | ||
40 | } | ||
41 | addtask deploy after do_install | ||
42 | |||
43 | PACKAGES += "${PN}-image" | ||
44 | FILES_${PN}-image += "/boot" | ||
45 | |||
46 | ALLOW_EMPTY_${PN} = "1" | ||