[meta-ti] [PATCH] pktlib: Adds recipe for pklib component
Khem Raj
raj.khem at gmail.com
Wed Jan 7 13:41:39 PST 2015
> On Jan 7, 2015, at 11:53 AM, Sam Nelson <sam.nelson at ti.com> wrote:
>
> - pktlib: provides library for handling packet descriptor for keystone devices
>
> Signed-off-by: Sam Nelson <sam.nelson at ti.com>
> ---
> recipes-bsp/pktlib/pktlib_git.bb | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 recipes-bsp/pktlib/pktlib_git.bb
>
> diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
> new file mode 100644
> index 0000000..8cd43d9
> --- /dev/null
> +++ b/recipes-bsp/pktlib/pktlib_git.bb
> @@ -0,0 +1,25 @@
> +DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
> +
> +DEPENDS="common-csl-ip rm-lld qmss-lld cppi-lld"
> +COMPATIBLE_MACHINE = "keystone"
> +
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
> +
> +# Corresponds to DEV.PKTLIB.2.1.0.4
> +SRCREV = "a9aa56afed54b0a04f36d2fdb248cad5dcac6ff6"
> +PV = "2.1.0.4"
> +PR = “r0"
drop PR
> +
> +S = "${WORKDIR}/git//ti/runtime/pktlib”
^^
get rid of double slash
> +
> +do_compile () {
> +# Now build the pktlib in the updated directory
> + make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
> +}
> +
> +do_install () {
> + make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
> +}
you might want to use oe_runmake and EXTRA_OEMAKE to accommodate the above make calls.
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list