From: Mrinmayee Hingolikar <[email protected]> * Added version 3.21.00.07 from the meta-ti-glsdk layer. Preserved authorship by Mrinmayee * Cleaned up the recipe for upstream by removing the sed lines in do_configure and instead using EXTRA_OEMAKE values passed into the make process.
Signed-off-by: Chase Maupin <[email protected]> --- ...nstallation-prefix-feature-to-products.ma.patch | 38 ++++++++++++++++++++ recipes-ti/ipc/ti-ipc_3.21.00.07.bb | 31 ++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 recipes-ti/ipc/ti-ipc/0002-ipc-Added-installation-prefix-feature-to-products.ma.patch create mode 100644 recipes-ti/ipc/ti-ipc_3.21.00.07.bb diff --git a/recipes-ti/ipc/ti-ipc/0002-ipc-Added-installation-prefix-feature-to-products.ma.patch b/recipes-ti/ipc/ti-ipc/0002-ipc-Added-installation-prefix-feature-to-products.ma.patch new file mode 100644 index 0000000..58d77c7 --- /dev/null +++ b/recipes-ti/ipc/ti-ipc/0002-ipc-Added-installation-prefix-feature-to-products.ma.patch @@ -0,0 +1,38 @@ +From 26d09063063593aec760151393226b96bc7ab9f8 Mon Sep 17 00:00:00 2001 +From: Mrinmayee Hingolikar <[email protected]> +Date: Thu, 5 Sep 2013 17:01:15 +0530 +Subject: [PATCH] ipc: Added installation prefix feature to products.mak + +Signed-off-by: Mrinmayee Hingolikar <[email protected]> +--- + ipc-linux.mak | 1 + + products.mak | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/ipc-linux.mak b/ipc-linux.mak +index 788a5a2..01579e4 100644 +--- a/ipc-linux.mak ++++ b/ipc-linux.mak +@@ -38,6 +38,7 @@ include products.mak + config: + @echo "Configuring Linux Ipc ..." + ./configure --host=$(TOOLCHAIN_LONGNAME) \ ++ --prefix=$(PREFIX) \ + CC=$(TOOLCHAIN_PREFIX)gcc \ + PLATFORM=$(PLATFORM) \ + CMEM_INSTALL_DIR=$(CMEM_INSTALL_DIR) \ +diff --git a/products.mak b/products.mak +index e418d2f..4578a1e 100644 +--- a/products.mak ++++ b/products.mak +@@ -55,6 +55,7 @@ PLATFORM ?= + TOOLCHAIN_LONGNAME = arm-none-linux-gnueabi + TOOLCHAIN_INSTALL_DIR = $(DEPOT)/_your_arm_code_gen_install_ + TOOLCHAIN_PREFIX = $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)- ++PREFIX = /usr/local + + # Optional: Path to Linux Kernel - needed to build the MmRpc user libraries + # (for devices that support it) +-- +1.7.9.5 + diff --git a/recipes-ti/ipc/ti-ipc_3.21.00.07.bb b/recipes-ti/ipc/ti-ipc_3.21.00.07.bb new file mode 100644 index 0000000..8131754 --- /dev/null +++ b/recipes-ti/ipc/ti-ipc_3.21.00.07.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "TI Inter Process Communication (IPC) Mechanisms (for Uni- and Multi- Processor Configurations)" +HOMEPAGE = "https://git.ti.com/ipc/pages/Home" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=f2518e421e230f06fe6d449718d02edc" + +DEPENDS += "virtual/kernel" + +PR = "r1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PLATFORM_omap5-evm = "OMAP54XX" +PLATFORM_dra7xx-evm = "DRA7XX" + +inherit autotools pkgconfig + +SRC_URI = "git://git.ti.com/ipc/ipcdev.git;protocol=git \ + file://0002-ipc-Added-installation-prefix-feature-to-products.ma.patch \ + " + +SRCREV = "c18fece0c9f0dc76361dc1ee11b7ee2417479847" + +S = "${WORKDIR}/git" + +FILESEXTRAPATHS_prepend := "${THISDIR}:" + +EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_INSTALL_DIR=${TOOLCHAIN_PATH} TOOLCHAIN_LONGNAME=${TOOLCHAIN_SYS} PLATFORM=${PLATFORM} PREFIX=${prefix}" + +do_configure() { + oe_runmake -f ${S}/ipc-linux.mak config +} -- 1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
