diff options
Diffstat (limited to 'recipes-dpaa2/management-complex/management-complex_10.12.0.bb')
-rw-r--r-- | recipes-dpaa2/management-complex/management-complex_10.12.0.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-dpaa2/management-complex/management-complex_10.12.0.bb b/recipes-dpaa2/management-complex/management-complex_10.12.0.bb new file mode 100644 index 00000000..6b5d0a87 --- /dev/null +++ b/recipes-dpaa2/management-complex/management-complex_10.12.0.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | SUMMARY = "DPAA2 Management Complex Firmware" | ||
2 | LICENSE = "NXP-Binary-EULA" | ||
3 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=afcb1213054384820390d410ab62105f" | ||
4 | |||
5 | inherit deploy fsl-eula-unpack | ||
6 | |||
7 | INHIBIT_DEFAULT_DEPS = "1" | ||
8 | |||
9 | SRC_URI = "git://github.com/nxp/qoriq-mc-binary;fsl-eula=true;nobranch=1" | ||
10 | SRCREV = "cdb5af4b25ec1ee3e9d26ece41efaa1556b28bac" | ||
11 | |||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | REGLEX_ls2088a = "ls2088a" | ||
15 | REGLEX_ls1088a = "ls1088a" | ||
16 | REGLEX_lx2160a = "lx2160a" | ||
17 | |||
18 | do_install () { | ||
19 | install -d ${D}/boot | ||
20 | install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot | ||
21 | } | ||
22 | |||
23 | do_deploy () { | ||
24 | install -d ${DEPLOYDIR}/mc_app | ||
25 | install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app | ||
26 | # make a symlink to the latest binary | ||
27 | for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do | ||
28 | ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb | ||
29 | done | ||
30 | } | ||
31 | addtask deploy before do_build after do_install | ||
32 | |||
33 | PACKAGES += "${PN}-image" | ||
34 | FILES_${PN}-image += "/boot" | ||
35 | |||
36 | INHIBIT_PACKAGE_STRIP = "1" | ||
37 | |||
38 | COMPATIBLE_MACHINE = "(qoriq-arm64)" | ||
39 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
40 | |||