aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-11-29 14:07:59 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2018-12-13 07:26:04 -0200
commit0e518077c9e08bc0269d52eadb3147e027573e5b (patch)
treeaac5e249e527625e5c828e2fbcbd31856535244e /recipes-bsp
parente7e71e96d6a139d414fcbfae00e5a651a9d4a849 (diff)
downloadmeta-freescale-0e518077c9e08bc0269d52eadb3147e027573e5b.tar.gz
meta-freescale-0e518077c9e08bc0269d52eadb3147e027573e5b.tar.bz2
meta-freescale-0e518077c9e08bc0269d52eadb3147e027573e5b.zip
firmware-imx: Add include file for re-use of archive
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx-7.8.inc18
-rw-r--r--recipes-bsp/firmware-imx/firmware-imx_7.8.bb18
2 files changed, 24 insertions, 12 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx-7.8.inc b/recipes-bsp/firmware-imx/firmware-imx-7.8.inc
new file mode 100644
index 00000000..6da6736c
--- /dev/null
+++ b/recipes-bsp/firmware-imx/firmware-imx-7.8.inc
@@ -0,0 +1,18 @@
+# Copyright (C) 2012-2016 Freescale Semiconductor
+# Copyright 2017-2018 NXP
+# Copyright (C) 2018 O.S. Systems Software LTDA.
+SECTION = "base"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db"
+
+SRCBRANCH ?= "master"
+SRC_URI = " \
+ ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
+"
+
+SRC_URI[md5sum] = "0967aa59b3fd8d80fcb98146a9aac91b"
+SRC_URI[sha256sum] = "910fbf866f61185adfd60c1704b2da41030cb175901d06e40402b49f9240bdee"
+
+S = "${WORKDIR}/firmware-imx-${PV}"
+
+inherit fsl-eula-unpack
diff --git a/recipes-bsp/firmware-imx/firmware-imx_7.8.bb b/recipes-bsp/firmware-imx/firmware-imx_7.8.bb
index d7060b06..0fb2d5dc 100644
--- a/recipes-bsp/firmware-imx/firmware-imx_7.8.bb
+++ b/recipes-bsp/firmware-imx/firmware-imx_7.8.bb
@@ -3,23 +3,17 @@
# Copyright (C) 2018 O.S. Systems Software LTDA.
SUMMARY = "Freescale i.MX firmware"
DESCRIPTION = "Freescale i.MX firmware such as for the VPU"
-SECTION = "base"
-LICENSE = "Proprietary"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5ab1a30d0cd181e3408077727ea5a2db"
-PE = "1"
+require firmware-imx-${PV}.inc
-SRCBRANCH ?= "master"
-SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \
- git://github.com/NXP/imx-firmware.git;protocol=https;branch=${SRCBRANCH};destsuffix=${S}/git"
+PE = "1"
-#BRCM firmware git
+SRC_URI += " \
+ git://github.com/NXP/imx-firmware.git;protocol=https;branch=${SRCBRANCH};destsuffix=${S}/git \
+"
SRCREV = "8ce9046f5058fdd2c5271f86ccfc61bc5a248ae3"
-SRC_URI[md5sum] = "0967aa59b3fd8d80fcb98146a9aac91b"
-SRC_URI[sha256sum] = "910fbf866f61185adfd60c1704b2da41030cb175901d06e40402b49f9240bdee"
-
-inherit fsl-eula-unpack allarch
+inherit allarch
do_install() {
install -d ${D}${base_libdir}/firmware/imx