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

login
register
mail settings
Submitter ting.liu@freescale.com
Date July 3, 2014, 9:42 a.m.
Message ID <1404380572-14814-27-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74965/
State Rejected
Headers show

Comments

ting.liu@freescale.com - July 3, 2014, 9:42 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
Bob Cochran - July 7, 2014, 1:18 a.m.
On 07/03/2014 05:42 AM, ting.liu@freescale.com wrote:
> 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
>
> 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"


License is "Proprietary" and the Freescale_Software_License.txt is 
restrictive (e.g., "...distribute derivative works thereof only in 
object (machine-readable) form as part of a Freescale System")

But all source is provided on the Freescale Public GIT: 
git.freescale.com/ppc/sdk/l2switch-util.git.

Is this what you want?




> +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)"
>

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)"