From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../management-complex_10.14.1.bb | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bsp/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.14.1.bb (limited to 'bsp/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.14.1.bb') diff --git a/bsp/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.14.1.bb b/bsp/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.14.1.bb new file mode 100644 index 00000000..ddb305c1 --- /dev/null +++ b/bsp/meta-freescale/recipes-dpaa2/management-complex/management-complex_10.14.1.bb @@ -0,0 +1,41 @@ +SUMMARY = "DPAA2 Management Complex Firmware" +LICENSE = "NXP-Binary-EULA" +LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=afcb1213054384820390d410ab62105f" + +inherit deploy + +INHIBIT_DEFAULT_DEPS = "1" + +SRC_URI = "git://github.com/nxp/qoriq-mc-binary;nobranch=1" +SRCREV = "408110ee632f6291545b0b156cd74e7e3b4612cc" + +S = "${WORKDIR}/git" + +REGLEX_ls2088a = "ls2088a" +REGLEX_ls2080a = "ls2080a" +REGLEX_ls1088a = "ls1088a" +REGLEX_lx2160a = "lx2160a" + +do_install () { + install -d ${D}/boot + install -m 755 ${S}/${REGLEX}/*.itb ${D}/boot +} + +do_deploy () { + install -d ${DEPLOYDIR}/mc_app + install -m 755 ${S}/${REGLEX}/*.itb ${DEPLOYDIR}/mc_app + # make a symlink to the latest binary + for mc_binary in `find ${DEPLOYDIR}/mc_app -type f -printf "%f\n" |sort`;do + ln -sfT ${mc_binary} ${DEPLOYDIR}/mc_app/mc.itb + done +} +addtask deploy before do_build after do_install + +PACKAGES += "${PN}-image" +FILES_${PN}-image += "/boot" + +INHIBIT_PACKAGE_STRIP = "1" + +COMPATIBLE_MACHINE = "(qoriq-arm64)" +PACKAGE_ARCH = "${MACHINE_ARCH}" + -- cgit 1.2.3-korg