[rocko,v2,04/41] inphi: add recipes

Submitted by C.R. Guo on Jan. 11, 2019, 3:10 a.m. | Patch ID: 157737

Details

Message ID 1547176178-783-4-git-send-email-chunrong.guo@nxp.com
State Rejected, archived
Delegated to: Daiane Angolini
Headers show

Commit Message

C.R. Guo Jan. 11, 2019, 3:10 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

*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 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-bsp/inphi/inphi_git.bb

Patch hide | download patch | download mbox

diff --git a/recipes-bsp/inphi/inphi_git.bb b/recipes-bsp/inphi/inphi_git.bb
new file mode 100644
index 0000000..c0c8a77
--- /dev/null
+++ b/recipes-bsp/inphi/inphi_git.bb
@@ -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}"
+