From f4f82f787cb684ca4129729dbcfe34ee596b74c5 Mon Sep 17 00:00:00 2001 From: "Maupin, Chase" Date: Tue, 1 Jul 2014 19:36:09 +0000 Subject: Update dra7xx-evm settings to use dra7xx SOC_FAMILY * Update to use the dra7xx SOC_FAMILY instead of the specific dra7xx-evm machine type. Signed-off-by: Chase Maupin Acked-by: Franklin Cooper Jr. Signed-off-by: Denys Dmytriyenko --- recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'recipes-bsp/ipumm-fw') diff --git a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb index c3017fed..7f67c39a 100644 --- a/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb +++ b/recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb @@ -1,13 +1,27 @@ +python __anonymous() { + features = bb.data.getVar("MACHINE_FEATURES", d, 1) + if not features: + return + if "mmip" not in features: + raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES') +} + DESCRIPTION = "Firmware for IPU " LICENSE = "TI-TSPA" -LIC_FILES_CHKSUM_dra7xx-evm = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" +LIC_FILES_CHKSUM_dra7xx = "file://MMIP-${PV}-Manifest.doc;md5=64ca6f9d7e5243b8a4084eb918a543bc" LIC_FILES_CHKSUM_omap5-evm = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45" COMPATIBLE_MACHINE = "omap-a15" PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-3.00.04.02.tar.gz;protocol=http;name=${MACHINE}" +# Need to set the PLATFORM variable since now multiple MACHINEs are sharing +# a common named tarball +PLATFORM = "UNKNOWN" +PLATFORM_dra7xx = "dra7xx-evm" +PLATFORM_omap5-evm = "omap5-evm" + +SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${PLATFORM}-3.00.04.02.tar.gz;protocol=http;name=${PLATFORM}" # DRA7xx checksums SRC_URI[dra7xx-evm.md5sum] = "da04c03b0fd57901e8283afa80f81379" @@ -19,7 +33,7 @@ SRC_URI[omap5-evm.sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da S = "${WORKDIR}/ipumm-${MACHINE}-${PV}" -TARGET_dra7xx-evm = "dra7-ipu2-fw.xem4" +TARGET_dra7xx = "dra7-ipu2-fw.xem4" TARGET_omap5-evm = "ducati-m3-core0.xem3" do_install() { -- cgit v1.2.3-54-g00ecf