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

Bob Cochran yocto at mindchasers.com
Sun Jul 6 18:18:16 PDT 2014


On 07/03/2014 05:42 AM, ting.liu at freescale.com wrote:
> From: Ting Liu <b28495 at freescale.com>
>
> Signed-off-by: Ting Liu <b28495 at 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)"
>



More information about the meta-freescale mailing list