summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAravind Batni2015-10-21 14:37:11 -0500
committerAravind Batni2015-10-21 14:37:11 -0500
commit1771661eb4e81e2006e58411c0ba45dda826f7cd (patch)
treea6da2e4f146517e1f2ef8f472144769ec9d19e7e
parentada95caf477f5efaff72bf1c268fa047ee2c13b0 (diff)
downloadcppi-lld-1771661eb4e81e2006e58411c0ba45dda826f7cd.tar.gz
cppi-lld-1771661eb4e81e2006e58411c0ba45dda826f7cd.tar.xz
cppi-lld-1771661eb4e81e2006e58411c0ba45dda826f7cd.zip
drv depend on tools/include folder
-rw-r--r--build/buildlib.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/buildlib.xs b/build/buildlib.xs
index 2260222..205e1cd 100644
--- a/build/buildlib.xs
+++ b/build/buildlib.xs
@@ -157,7 +157,7 @@ function createMake(makefile)
157 makefile.writeLine("export ROOTDIR := "+pkgroot); 157 makefile.writeLine("export ROOTDIR := "+pkgroot);
158 158
159 makefile.writeLine("\n# INCLUDE Directory"); 159 makefile.writeLine("\n# INCLUDE Directory");
160 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR);$(C6X_GEN_INSTALL_PATH)/include"); 160 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)");
161 161
162 makefile.writeLine("\n# Common Macros used in make"); 162 makefile.writeLine("\n# Common Macros used in make");
163 makefile.writeLine("\nifndef RM"); 163 makefile.writeLine("\nifndef RM");
@@ -290,7 +290,7 @@ function createLibMake(device, makelibname,targetname, objectPath)
290 290
291 } 291 }
292 292
293 libmakefile.writeLine("INCS = -I. -I$(strip $(subst ;, -I,$(subst $(space),\\$(space),$(INCDIR))))"); 293 libmakefile.writeLine("INCS = -I. -I$(strip $(subst ;, -I,$(subst $(space),\\$(space),$(INCDIR)))) -I$("+tooldir+")/include");
294 libmakefile.writeLine("OBJEXT = o"+targetname.suffix); 294 libmakefile.writeLine("OBJEXT = o"+targetname.suffix);
295 libmakefile.writeLine("AOBJEXT = s"+targetname.suffix); 295 libmakefile.writeLine("AOBJEXT = s"+targetname.suffix);
296 /* libmakefile.writeLine("INTERNALDEFS = -D"+stringname.replace(/\./g,"_")+" -Dxdc_target_types__=ti/targets/std.h -DMAKEFILE_BUILD -eo.$(OBJEXT) -ea.$(AOBJEXT) -fr=$(@D) -fs=$(@D) -ppa -ppd=$@.dep");*/ 296 /* libmakefile.writeLine("INTERNALDEFS = -D"+stringname.replace(/\./g,"_")+" -Dxdc_target_types__=ti/targets/std.h -DMAKEFILE_BUILD -eo.$(OBJEXT) -ea.$(AOBJEXT) -fr=$(@D) -fs=$(@D) -ppa -ppd=$@.dep");*/