]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - dense-linear-algebra-libraries/linalg.git/blobdiff - make.inc
Enabled Launchpad build.
[dense-linear-algebra-libraries/linalg.git] / make.inc
index f128811d9c97a1b33918ff2d56b7af813b4988f8..4a80979f4ce8f08223fc9ea7384325d289d68ea9 100644 (file)
--- a/make.inc
+++ b/make.inc
@@ -11,9 +11,11 @@ LIBS  = -lOpenCL -locl_util #-lstdc++ -lrt
 
 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
@@ -28,6 +30,7 @@ ifneq (,$(findstring 86, $(UNAME_M)))
     # /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
@@ -36,15 +39,15 @@ endif
 
 %.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 $<