diff options
Diffstat (limited to 'recipes-dpaa2/management-complex/management-complex_10.10.0.bb')
| -rw-r--r-- | recipes-dpaa2/management-complex/management-complex_10.10.0.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-dpaa2/management-complex/management-complex_10.10.0.bb b/recipes-dpaa2/management-complex/management-complex_10.10.0.bb new file mode 100644 index 000000000..c9f4c5ba7 --- /dev/null +++ b/recipes-dpaa2/management-complex/management-complex_10.10.0.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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 | ||
| 6 | |||
| 7 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 8 | |||
| 9 | SRC_URI = "git://github.com/nxp/qoriq-mc-binary;protocol=https;nobranch=1" | ||
| 10 | SRCREV = "a71009e13b1e7dac9cffc708f62037e67985bbfc" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/git" | ||
| 13 | |||
| 14 | REGLEX_ls2088a = "ls2088a" | ||
| 15 | REGLEX_ls1088a = "ls1088a" | ||
| 16 | |||
| 17 | do_install () { | ||
| 18 | install -d ${D}/boot | ||
| 19 | install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot | ||
| 20 | } | ||
| 21 | |||
| 22 | do_deploy () { | ||
| 23 | install -d ${DEPLOYDIR}/mc_app | ||
| 24 | install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app | ||
| 25 | # make a symlink to the latest binary | ||
| 26 | for mc_binary in `ls ${DEPLOYDIR}/mc_app |sort`;do | ||
| 27 | ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb | ||
| 28 | done | ||
| 29 | } | ||
| 30 | addtask deploy before do_build after do_install | ||
| 31 | |||
| 32 | PACKAGES += "${PN}-image" | ||
| 33 | FILES_${PN}-image += "/boot" | ||
| 34 | |||
| 35 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 36 | |||
| 37 | COMPATIBLE_MACHINE = "(ls2080ardb|ls2088a|ls1088a)" | ||
| 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 39 | |||
