Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D0A27E009EF; Tue, 19 May 2015 04:27:13 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.94.94.40 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 3B5F4E009DA for ; Tue, 19 May 2015 04:27:09 -0700 (PDT) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t4JBR80T028003 for ; Tue, 19 May 2015 06:27:08 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JBR7Gi023931 for ; Tue, 19 May 2015 06:27:07 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Tue, 19 May 2015 06:27:07 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t4JBR6LV028715; Tue, 19 May 2015 06:27:07 -0500 From: Jacob Stiffler To: Date: Tue, 19 May 2015 07:27:00 -0400 Message-ID: <1432034821-22913-2-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1432034821-22913-1-git-send-email-j-stiffler@ti.com> References: <1432034821-22913-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [PATCH v2 2/3] libulm: Add ULM library for ARM and DSP. X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 11:27:13 -0000 Content-Type: text/plain Signed-off-by: Jacob Stiffler --- * v2 changes: - Add support for k2hk-evm - Reorganize file based on oe-stylize. recipes-bsp/dsptop/libulm_git.bb | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 recipes-bsp/dsptop/libulm_git.bb diff --git a/recipes-bsp/dsptop/libulm_git.bb b/recipes-bsp/dsptop/libulm_git.bb new file mode 100644 index 0000000..f99dd6a --- /dev/null +++ b/recipes-bsp/dsptop/libulm_git.bb @@ -0,0 +1,42 @@ +DESCRIPTION = "TI dsptop utility." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://../debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" + +DEPENDS = "ti-cgt6x-native" +PR = "${INC_PR}.0" + +S = "${WORKDIR}/git/dsptop/ulm" + +DEVICE="" +DEVICE_dra7xx = "DRA7xx" +DEVICE_k2hk-evm = "C66AK2Hxx" + +EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" + +do_compile() { + oe_runmake arm XPORT_ONLY + oe_runmake dsp C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include +} + +do_install() { + install -d ${D}${includedir} + install -d ${D}${libdir} + install -d ${D}${datadir}/ti/ulm + cp -f tiulm.h ${D}${includedir} + cp -f release/libtiulm.a ${D}${libdir} + cp -f tiulm.h ${D}${datadir}/ti/ulm + cp -f release/libtiulm.ae66 ${D}${datadir}/ti/ulm +} + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES_${PN}-dev += "\ + ${datadir}/ti/ulm \ +" + +include dsptop.inc + +ALLOW_EMPTY_${PN} = "1" + +PARALLEL_MAKE= "" -- 1.7.9.5