diff --git a/make.inc b/make.inc
index 4e5013a56f01fe322dae8922ff2dbf3e7b26c5b1..0ee8cc62dff1273fffd9107c988debf65750840a 100644 (file)
--- a/make.inc
+++ b/make.inc
DSP_INCLUDE = -I$(TI_OCL_CGT_INSTALL)/include
DSP_INCLUDE += -I$(TARGET_ROOTDIR)/usr/share/ti/cgt-c6x/include
DSP_INCLUDE += -I$(TARGET_ROOTDIR)/usr/share/ti/opencl
-DSP_INCLUDE += -I$(TI_OCL_INSTALL_DIR)/opencl/include
+DSP_INCLUDE += -I$(TI_OCL_INSTALL_DIR)/include
CPP = g++
CL6X = cl6x -mv6600 --abi=eabi $(DSP_INCLUDE)
UNAME_M :=$(shell uname -m)
+OBJCOPY = $(TARGET_ROOTDIR)/usr/bin/arm-linux-gnueabihf-objcopy
ifneq (,$(findstring 86, $(UNAME_M)))
.DEFAULT_GOAL := cross
+ OBJCOPY = $(TOOLCHAIN_DIR)/arm-linux-gnueabihf/bin/objcopy
# In a cross compile environment we are assuming that the EVM file system
# is located on the build host and necessary ARM libraries are installed
# /usr/include. Explicitly specify here to find dependent vendor headers
cross: override CPP = arm-linux-gnueabihf-g++
cross: CPP_FLAGS += -I$(TARGET_ROOTDIR)/usr/include -idirafter /usr/include
+ #cross: CL6X_FLAGS += -I$(OMP_DIR)/packages/ti/runtime/openmp
# If cross-compilineg, provide path to dependent ARM libraries on the
# target filesystem