Fix for bugs because of which generic RM library was not pulled for C64P targets
authorSundaram Raju <sundaram@ti.com>
Fri, 11 Feb 2011 12:32:54 +0000 (18:02 +0530)
committerSundaram Raju <sundaram@ti.com>
Mon, 14 Feb 2011 12:52:35 +0000 (18:22 +0530)
- Refer IR# SDOCM00078797 for more details.
- for ISA c64p, library extensions that need to be generated are "64P"
- same way in getlibs() one has to check for "64P" to pull correct c64p libraries
- "-DGENERIC" flag has to be passed while building Generic RM library

Signed-off-by: Sundaram Raju <sundaram@ti.com>
makerules/platform.mk
packages/ti/sdo/edma3/drv/package.xs
packages/ti/sdo/edma3/drv/sample/package.xs
packages/ti/sdo/edma3/rm/makefile
packages/ti/sdo/edma3/rm/package.xs
packages/ti/sdo/edma3/rm/sample/package.xs

index cc24d135eee370302863d35aa67417e2a2cbd4a9..a98e711cc906f13e30f388dae74160012ff3c2f7 100755 (executable)
@@ -230,10 +230,10 @@ ifeq ($(ISA),64p)
   endif
 
   # Define the file extensions
-  OBJEXT = o$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
-  LIBEXT = a$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
-  EXEEXT = x$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
-  ASMEXT = s$(FORMAT_EXT)$(ISA)$(ENDIAN_EXT)
+  OBJEXT = o$(FORMAT_EXT)64P$(ENDIAN_EXT)
+  LIBEXT = a$(FORMAT_EXT)64P$(ENDIAN_EXT)
+  EXEEXT = x$(FORMAT_EXT)64P$(ENDIAN_EXT)
+  ASMEXT = s$(FORMAT_EXT)64P$(ENDIAN_EXT)
 endif
 
 ifeq ($(ISA),66)
index a1ca7abdaa840d4870a2391670649014575b8cbf..39aaf4b32e4bdb1e7744a351c62c3f2611ef2efa 100755 (executable)
@@ -80,7 +80,7 @@ function getLibs(prog)
                 extension = ".a" + Program.build.target.suffix;
                 if (java.lang.String(Program.build.target.suffix).contains('674'))
                        target = "674/";
-                if (java.lang.String(Program.build.target.suffix).contains('64p'))
+                if (java.lang.String(Program.build.target.suffix).contains('64P'))
                        target = "64p/";
                 if (java.lang.String(Program.build.target.suffix).contains('66'))
                        target = "66/";
index 3e5b5b0aaa43d1c69d180c553c28b059b4d35f22..05e99f7b1e7679ed889306d7936a10091d5534ff 100755 (executable)
@@ -97,7 +97,7 @@ function getLibs(prog)
                 extension = ".a" + Program.build.target.suffix;
                 if (java.lang.String(Program.build.target.suffix).contains('674'))
                        target = "674/";
-                if (java.lang.String(Program.build.target.suffix).contains('64p'))
+                if (java.lang.String(Program.build.target.suffix).contains('64P'))
                        target = "64p/";
                 if (java.lang.String(Program.build.target.suffix).contains('66'))
                        target = "66/";
index a0c331a8ba5d0bc8b8d6d0802e3c3c250f2010fd..af8732055589eca94eae91f2d222568293ce5d10 100644 (file)
@@ -29,6 +29,7 @@ SRCS_da830-evm = edma3_da830_cfg.c
 SRCS_ti814x-evm = edma3_ti814x_cfg.c
 SRCS_ti816x-evm = edma3_ti816x_cfg.c
 SRCS_ti816x-sim = edma3_ti816x_cfg.c
+CFLAGS_LOCAL_generic = -DGENERIC
 
 # Include common make files
 include $(ROOTDIR)/makerules/common.mk
index 839049dcef41f25fd9eab0cbab7f2c51929c0fe0..9a96c76d8f11d473eb6009f44e64a6ee0ee59364 100755 (executable)
@@ -97,7 +97,7 @@ function getLibs(prog)
                 extension = ".a" + Program.build.target.suffix;
                 if (java.lang.String(Program.build.target.suffix).contains('674'))
                        target = "674/";
-                if (java.lang.String(Program.build.target.suffix).contains('64p'))
+                if (java.lang.String(Program.build.target.suffix).contains('64P'))
                        target = "64p/";
                 if (java.lang.String(Program.build.target.suffix).contains('66'))
                        target = "66/";
@@ -121,7 +121,7 @@ function getLibs(prog)
         extension = ".a" + Program.build.target.suffix;
         if (java.lang.String(Program.build.target.suffix).contains('674'))
                target = "674/";
-        if (java.lang.String(Program.build.target.suffix).contains('64p'))
+        if (java.lang.String(Program.build.target.suffix).contains('64P'))
                target = "64p/";
         if (java.lang.String(Program.build.target.suffix).contains('66'))
                target = "66/";
index 4db022861ad0cb5c899975e204ddf3cc42acc3ad..af21443f7b194a21bd82355bf32b38b5b30d4d20 100755 (executable)
@@ -98,7 +98,7 @@ function getLibs(prog)
                 extension = ".a" + Program.build.target.suffix;
                 if (java.lang.String(Program.build.target.suffix).contains('674'))
                        target = "674/";
-                if (java.lang.String(Program.build.target.suffix).contains('64p'))
+                if (java.lang.String(Program.build.target.suffix).contains('64P'))
                        target = "64p/";
                 if (java.lang.String(Program.build.target.suffix).contains('66'))
                        target = "66/";