[meta-freescale] [meta-fsl-arm][PATCH 15/41] ls2-phy: Add recipe

ting.liu at nxp.com ting.liu at nxp.com
Fri Jun 24 03:41:10 PDT 2016


From: Zongchun Yu <zongchun.yu at nxp.com>

Signed-off-by: Zongchun Yu <zongchun.yu at nxp.com>
---
 recipes-bsp/ls2-phy/ls2-phy_git.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-bsp/ls2-phy/ls2-phy_git.bb

diff --git a/recipes-bsp/ls2-phy/ls2-phy_git.bb b/recipes-bsp/ls2-phy/ls2-phy_git.bb
new file mode 100644
index 0000000..de1fa25
--- /dev/null
+++ b/recipes-bsp/ls2-phy/ls2-phy_git.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Firmwares and Standalone Applications"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/ls2-phy.git;branch=sdk-v2.0.x"
+SRCREV = "554f2648c6a4c6f974827ab326e8c1908dead6f1"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/boot
+    cp -fr ${S}/AQR405 ${D}/boot
+    cp -fr ${S}/CS4340 ${D}/boot
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/ls2-phy
+    cp -fr ${S}/AQR405 ${DEPLOYDIR}/ls2-phy
+    cp -fr ${S}/CS4340 ${DEPLOYDIR}/ls2-phy
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls2080ardb)"
-- 
1.9.2



More information about the meta-freescale mailing list