[meta-freescale] [meta-fsl-ppc 28/42] usdpaa: add recipe

McClintock Matthew-B29882 B29882 at freescale.com
Wed Jan 30 15:06:40 PST 2013


Applied to master.

-M

On Wed, Jan 30, 2013 at 2:51 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> use external git tree to build usdpaa for t4/b4
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> ---
>  recipes-tools/usdpaa/usdpaa_git.bb |   33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 recipes-tools/usdpaa/usdpaa_git.bb
>
> diff --git a/recipes-tools/usdpaa/usdpaa_git.bb b/recipes-tools/usdpaa/usdpaa_git.bb
> new file mode 100644
> index 0000000..697bead
> --- /dev/null
> +++ b/recipes-tools/usdpaa/usdpaa_git.bb
> @@ -0,0 +1,33 @@
> +DESCRIPTION = "User-Space Data-Path Acceleration Architecture drivers"
> +SECTION = "usdpaa"
> +LICENSE = "BSD & GPLv2"
> +LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
> +
> +inherit pkgconfig
> +
> +DEPENDS = "libxml2 libedit ncurses readline flib"
> +RDEPENDS_${PN} = "libgcc"
> +
> +SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git"
> +SRCREV = "53c621f783c9d10d46828854120a3ebd58389779"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OEMAKE = 'V=1 CC="${CC}" LD="${LD}" AR="${AR}"'
> +
> +do_compile_prepend () {
> +       export ARCH=${TARGET_ARCH}
> +       export LIBXML2_CFLAGS="$(pkg-config --cflags libxml-2.0)"
> +       export LIBXML2_LDFLAGS="$(pkg-config --libs --static libxml-2.0)"
> +       export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)"
> +       export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)"
> +}
> +
> +do_install () {
> +       oe_runmake ARCH=${TARGET_ARCH} install DESTDIR=${D}
> +}
> +
> +PARALLEL_MAKE_pn-${PN} = ""
> +
> +FILES_${PN} += "/root/SOURCE_THIS /usr/etc/"
> +RDEPENDS_${PN} += "bash"
> --
> 1.7.9.5
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



More information about the meta-freescale mailing list