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