Patchwork [meta-fsl-ppc,26/39] l2switch: add recipe for sdk v1.6

login
register
mail settings
Submitter Ting Liu
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-27-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74615/
State Superseded
Headers show

Comments

Ting Liu - July 2, 2014, 3:01 a.m.
From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-extended/l2switch/l2switch_0.1.bb |   31 +++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100755 recipes-extended/l2switch/l2switch_0.1.bb

Patch

diff --git a/recipes-extended/l2switch/l2switch_0.1.bb b/recipes-extended/l2switch/l2switch_0.1.bb
new file mode 100755
index 0000000..c25b38b
--- /dev/null
+++ b/recipes-extended/l2switch/l2switch_0.1.bb
@@ -0,0 +1,31 @@ 
+SUMMARY = "T1040 L2 Switch"
+DESCRIPTION = "Control application sample, headers and library"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://src/Freescale_Software_License.txt;md5=abef45971875a174b40d565215cdf4d9 \
+		file://include/COPYING;md5=7018bb7bacb48a72a2acbf999cf7d25a"
+
+RCONFLICTS_${PN} = "smbstax"
+
+inherit cmake update-rc.d
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/l2switch-util.git;nobranch=1"
+SRCREV = "23dc48bdda2f5c200852c5451223231cb030da33"
+
+S = "${WORKDIR}/git"
+
+export SYSROOT = "${STAGING_DIR_TARGET}"
+
+PACKAGES = "${PN} ${PN}-lib vtss-api"
+FILES_${PN} = "${bindir}/l2sw_bin \
+        ${bindir}/l2switch-cfg \
+        /etc/init.d/l2switch \
+        /etc/sysconfig/l2switch \
+        "
+FILES_${PN}-lib = "${libdir}/*"
+FILES_vtss-api = "${includedir}/*"
+
+INITSCRIPT_NAME = "l2switch"
+INITSCRIPT_PARAMS = "defaults 10 85"
+
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+COMPATIBLE_MACHINE = "(t1040qds|t1040qds-64b|t1040rdb|t1040rdb-64b)"