summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghu Nambiath2018-07-02 16:50:26 -0500
committerRaghu Nambiath2018-07-02 16:50:26 -0500
commit3be570de4be23f2edaf0a3c334e12f8ac49f12bf (patch)
tree7d51a07c2123843bc00d4ec69625c4b634a47303
parent5f24617e71670f17ee9adf71d5b30dc8ff9e5ca3 (diff)
parentb26e9aad5d61773e2f6017b9c7d8dc6766638ec4 (diff)
downloadpa-lld-3be570de4be23f2edaf0a3c334e12f8ac49f12bf.tar.gz
pa-lld-3be570de4be23f2edaf0a3c334e12f8ac49f12bf.tar.xz
pa-lld-3be570de4be23f2edaf0a3c334e12f8ac49f12bf.zip
Merge pull request #8 in PROCESSOR-SDK/pa-lld from PRSDK-2194 to master
* commit 'b26e9aad5d61773e2f6017b9c7d8dc6766638ec4': PRSDK-2194 Added RULES_MAKE macro
-rw-r--r--build/buildlib.xs11
1 files changed, 10 insertions, 1 deletions
diff --git a/build/buildlib.xs b/build/buildlib.xs
index 0cb051a..473ac5d 100644
--- a/build/buildlib.xs
+++ b/build/buildlib.xs
@@ -7,7 +7,7 @@
7 * This file contains common routines that are used by the various PA 7 * This file contains common routines that are used by the various PA
8 * components. 8 * components.
9 * 9 *
10 * Copyright (C) 2011, Texas Instruments, Inc. 10 * Copyright (C) 2011 - 2018, Texas Instruments, Inc.
11 *****************************************************************************/ 11 *****************************************************************************/
12 12
13/************************************************************************** 13/**************************************************************************
@@ -155,6 +155,15 @@ function createMake(makefile)
155 makefile.writeLine("\n# ROOT Directory"); 155 makefile.writeLine("\n# ROOT Directory");
156 makefile.writeLine("export ROOTDIR := "+pkgroot); 156 makefile.writeLine("export ROOTDIR := "+pkgroot);
157 157
158 makefile.writeLine("\n# Include Rules.make");
159 makefile.writeLine("ifndef PDK_INSTALL_DIR_RECIPE");
160 makefile.writeLine("ifeq ($(RULES_MAKE),)");
161 makefile.writeLine("include $(PDK_INSTALL_PATH)/ti/build/Rules.make");
162 makefile.writeLine("else");
163 makefile.writeLine("include $(RULES_MAKE)");
164 makefile.writeLine("endif");
165 makefile.writeLine("endif");
166
158 makefile.writeLine("\n# INCLUDE Directory"); 167 makefile.writeLine("\n# INCLUDE Directory");
159 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)"); 168 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)");
160 169