Merge pull request #2 in PROCESSOR-SDK/tcp3d-lld from Doc_ver_update_5.0 to master DEV.PROCESSOR-SDK.05.01.00.10 DEV.PROCESSOR-SDK.05.01.00.11 DEV.TCP3D_LLD.02.01.00.06
authorMahesh Radhakrishnan <a0875154@ti.com>
Tue, 17 Jul 2018 12:31:40 +0000 (07:31 -0500)
committerMahesh Radhakrishnan <a0875154@ti.com>
Tue, 17 Jul 2018 12:31:40 +0000 (07:31 -0500)
* commit 'a8c37d769f5530766fc0aca81f65ae5e1ee1a131':
  Documentation and version updates for procsdk 5.0 release

build/buildlib.xs

index 20d9e25031428bd105c287aa0d3a82a2a3d527dd..fd11ae522bb2496eca2ee596a32aee4d994a17bb 100644 (file)
@@ -7,7 +7,7 @@
  *  This file contains common routines that are used by the various TCP3D driver \r
  *  components.\r
  *\r
- * Copyright (C) 2011-2014, Texas Instruments, Inc.\r
+ * Copyright (C) 2011-2018, Texas Instruments, Inc.\r
  *****************************************************************************/\r
 \r
 /**************************************************************************\r
@@ -153,6 +153,15 @@ function createMake(makefile)
       makefile.writeLine("\n# ROOT Directory");        \r
       makefile.writeLine("export ROOTDIR := "+pkgroot);\r
     \r
+      makefile.writeLine("\n# Include Rules.make");\r
+      makefile.writeLine("ifndef PDK_INSTALL_DIR_RECIPE");\r
+      makefile.writeLine("ifeq ($(RULES_MAKE),)");\r
+      makefile.writeLine("include $(PDK_INSTALL_PATH)/ti/build/Rules.make");\r
+      makefile.writeLine("else");\r
+      makefile.writeLine("include $(RULES_MAKE)");\r
+      makefile.writeLine("endif");\r
+      makefile.writeLine("endif");\r
+\r
       makefile.writeLine("\n# INCLUDE Directory");\r
       makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR);$(C6X_GEN_INSTALL_PATH)/include");       \r
     \r