diff --git a/make.inc b/make.inc
index f128811d9c97a1b33918ff2d56b7af813b4988f8..4a80979f4ce8f08223fc9ea7384325d289d68ea9 100644 (file)
--- a/make.inc
+++ b/make.inc
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
%.o: %.cpp
@echo Compiling $<
- @$(CPP) -c $(CPP_FLAGS) $<
+ $(CPP) -c $(CPP_FLAGS) $<
%.o: %.c
@echo Compiling $<
- @$(CPP) -c $(CPP_FLAGS) $<
+ $(CPP) -c $(CPP_FLAGS) $<
%.obj: %.c
@echo Compiling $<
- @$(CL6X) -c $(CL6X_FLAGS) $<
+ $(CL6X) -c $(CL6X_FLAGS) $<
%.out: %.cl
@echo Compiling $<