ti-tisdk-makefile: Update to fix build issue with arm-oe-linux-gnueabi
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
Signed-off-by Sam Nelson <[email protected]>
--- .../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
@@ -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
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
Signed-off-by Sam Nelson <[email protected]>--- .../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@@ -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)