summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghu Nambiath2018-07-02 16:50:15 -0500
committerRaghu Nambiath2018-07-02 16:50:15 -0500
commita0410bd2bf7f39d71d5985bd5404bedc6b7d9bfd (patch)
treeb1fc69b494cdeddd75d448ad6e85e23067b99e68
parent72fe9dc35b9e128a95b4e3e4403cb197616e2e88 (diff)
parent6ace1339f1abf58f5ed2312ece8ec0b8ad4682e5 (diff)
downloadqmss-lld-a0410bd2bf7f39d71d5985bd5404bedc6b7d9bfd.tar.gz
qmss-lld-a0410bd2bf7f39d71d5985bd5404bedc6b7d9bfd.tar.xz
qmss-lld-a0410bd2bf7f39d71d5985bd5404bedc6b7d9bfd.zip
Merge pull request #4 in PROCESSOR-SDK/qmss-lld from PRSDK-2194 to master
* commit '6ace1339f1abf58f5ed2312ece8ec0b8ad4682e5': 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 8bf9574..89b4442 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 QMSS 7 * This file contains common routines that are used by the various QMSS
8 * components. 8 * components.
9 * 9 *
10 * Copyright (C) 2011-2015, Texas Instruments, Inc. 10 * Copyright (C) 2011-2018, Texas Instruments, Inc.
11 *****************************************************************************/ 11 *****************************************************************************/
12 12
13/************************************************************************** 13/**************************************************************************
@@ -154,6 +154,15 @@ function createMake(makefile)
154 makefile.writeLine("\n# ROOT Directory"); 154 makefile.writeLine("\n# ROOT Directory");
155 makefile.writeLine("export ROOTDIR := "+pkgroot); 155 makefile.writeLine("export ROOTDIR := "+pkgroot);
156 156
157 makefile.writeLine("\n# Include Rules.make");
158 makefile.writeLine("ifndef PDK_INSTALL_DIR_RECIPE");
159 makefile.writeLine("ifeq ($(RULES_MAKE),)");
160 makefile.writeLine("include $(PDK_INSTALL_PATH)/ti/build/Rules.make");
161 makefile.writeLine("else");
162 makefile.writeLine("include $(RULES_MAKE)");
163 makefile.writeLine("endif");
164 makefile.writeLine("endif");
165
157 makefile.writeLine("\n# INCLUDE Directory"); 166 makefile.writeLine("\n# INCLUDE Directory");
158 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)"); 167 makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)");
159 168