PRSDK-3513 Addressed build errors
authorSinthu Raja M <x0257345@ti.com>
Fri, 2 Feb 2018 08:46:14 +0000 (14:16 +0530)
committerSinthu Raja M <x0257345@ti.com>
Fri, 2 Feb 2018 08:46:14 +0000 (14:16 +0530)
 Addressed build errors that caused due to C674x string in makefile
 Included CSL header file to solve CSL related build issue.

build/buildlib.xs
device/omapl138/src/device_mcbsp_loopback.c
package.xs

index a2c0d1c3b352b3a9c7de7ebe48143d8f44c77e53..657617046628337ea529bc0c30cc575b05aba2c7 100755 (executable)
@@ -483,7 +483,7 @@ function buildLibrary (socName, isSoc, libOptions, libName, target, libFiles)
     }
        else if (target.name == "C674")
     {
     }
        else if (target.name == "C674")
     {
-        targetDir = "c674/release";
+        targetDir = "c674";
     }
     else
     {
     }
     else
     {
index 5d49109cc26512baa4932dbc0db9b2f80a738ecd..6cc3bceaf1e44b5b0dcf742b35b669e89b5c59f8 100644 (file)
 /* CSL MCBSP Register Layer */
 #include <ti/csl/cslr_mcbsp.h>
 
 /* CSL MCBSP Register Layer */
 #include <ti/csl/cslr_mcbsp.h>
 
-/* CSL Chip Functional Layer */
-// #include <ti/csl/csl_chip.h> // no functional CSL for Freon
 #include <ti/csl/cslr_device.h>
 #include <ti/csl/cslr_device.h>
-//#include <ti/csl/soc_OMAPL138.h>
 
 
+#include <ti/csl/soc.h>
 
 /*============================================================================*/
 /*                           IMPORTED VARIABLES                               */
 
 /*============================================================================*/
 /*                           IMPORTED VARIABLES                               */
index c47853b9ca56e8059c2533553a21e292d5a4810c..412465dcda887777d1241940e966ea021a836818 100644 (file)
@@ -31,7 +31,7 @@ function getLibs(prog)
     /* Device types supported */
     var deviceTypes = [
                         'k2g',
     /* Device types supported */
     var deviceTypes = [
                         'k2g',
-                        'c674x',
+                        'omapl138',
                         'c6657'
                       ];
     
                         'c6657'
                       ];