Skip to contentSkip to conversation

ti-tisdk-makefile: Update to fix build issue with arm-oe-linux-gnueabi

PATCH In review Sam Nelson 2 participants 2 messages Sep 26, 2019 – Oct 1, 2019

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 ti-tisdk-makefile: Update to fix build issue with arm-oe-linux-gnueabi

With arm-oe-linux-gnueabi toolchain, the sysroot path is not picked up by default.

This fixes problem with building the ipc examples using top level make, in platforms using arm-oe-linux-gnueabi toolchain

---
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc   | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc +2 -0
index 53f9c88..682a791 100644
@@ -100,6 +100,7 @@ ti-ipc-linux-examples: ti-ipc-rtos-path-check
 		TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
 		TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
 		TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+		LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
 		$(IPC_TOOLS_PATHS)
 
 ti-ipc-linux-examples_install: ti-ipc-rtos-path-check ti-ipc-linux-examples
@@ -131,5 +132,6 @@ ti-ipc-linux-examples_clean: ti-ipc-rtos-path-check
 		TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
 		TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
 		TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+		LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
 		$(IPC_TOOLS_PATHS)
 
Signature · 1 line
1.9.1
#1 lore raw

Denys,

Please backport to ti2019.03

Thank you,

Jake

Quoted 30 lines · Sam Nelson

With arm-oe-linux-gnueabi toolchain, the sysroot path is not picked up by default.

This fixes problem with building the ipc examples using top level make, in platforms using arm-oe-linux-gnueabi toolchain

---
  .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc   | 2 ++
  1 file changed, 2 insertions(+)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_ti-ipc +2 -0
index 53f9c88..682a791 100644
@@ -100,6 +100,7 @@ ti-ipc-linux-examples: ti-ipc-rtos-path-check
  		TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
  		TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
  		TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+		LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
  		$(IPC_TOOLS_PATHS)
 
  ti-ipc-linux-examples_install: ti-ipc-rtos-path-check ti-ipc-linux-examples
@@ -131,5 +132,6 @@ ti-ipc-linux-examples_clean: ti-ipc-rtos-path-check
  		TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
  		TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
  		TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
+		LINUX_SYSROOT_DIR=$(SDK_PATH_TARGET) \
  		$(IPC_TOOLS_PATHS)