]> code.ossystems Code Review - meta-freescale.git/commitdiff
inphi: add recipes
authorChunrong Guo <chunrong.guo@nxp.com>
Fri, 11 Jan 2019 03:14:04 +0000 (03:14 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 14 Jan 2019 18:23:38 +0000 (16:23 -0200)
*include the following changes:
f22e9ff - in112525: Add Inphi 112525 10G Phy firmware

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
recipes-bsp/inphi/inphi_git.bb [new file with mode: 0644]

diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
new file mode 100644 (file)
index 0000000..c0c8a77
--- /dev/null
@@ -0,0 +1,28 @@
+SUMMARY = "Firmwares and Standalone Applications"
+LICENSE = "NXP-Binary-EULA"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=86d76166990962fa552f840ff08e5798"
+
+inherit deploy fsl-eula-unpack
+
+SRC_URI = "git://github.com/nxp/qoriq-firmware-inphi.git;fsl-eula=true;nobranch=1"
+SRCREV = "f22e9ff3bfed8342da6efb699e473b11fbad5695"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/boot
+    cp -fr ${S}/in112525-phy-ucode.txt ${D}/boot
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/inphi
+    cp -fr ${S}/in112525-phy-ucode.txt ${DEPLOYDIR}/inphi
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+COMPATIBLE_MACHINE = "(qoriq-arm64)"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+