]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - pa-framework/paf.git/commitdiff
Fixed Linux build issues and updated instructioins in ReadMe.txt
authorShanmuga Sundaram Mahendran <shanmuga@ti.com>
Fri, 28 Mar 2014 10:07:37 +0000 (10:07 +0000)
committerShanmuga Sundaram Mahendran <shanmuga@ti.com>
Fri, 28 Mar 2014 13:29:25 +0000 (13:29 +0000)
Signed-off-by: Shanmuga Sundaram Mahendran <shanmuga@ti.com>
ReadMe.txt
pa/build/rules_cygwin_linux.mk
pa/build/tools.mk
pa/sio/dro/Makefile [moved from pa/sio/dro/makefile with 100% similarity]
tools/symcheck [changed mode: 0644->0755]

index c213c0bd6e14ede758003ebb87ded9e2a72bb68e..79d61989415ffcb75f5a6b05e8df68641125a16f 100644 (file)
@@ -5,15 +5,15 @@ To build the libraries from Windows command prompt:
        - update the version numbers of BIOS, XDC, IPC, Link and XDAIS
 2. In pa\build\target.mk, update the variable 'ROOTDIR' to reflect PAF installation path
 3. Install sed version 4.2.1 from http://gnuwin32.sourceforge.net/packages/sed.htm and update Windows path variable so that sed is in the execution path
-4. Install python version 2.7.6 from http://www.python.org/download 
-5. From pa\build directory issue the following commands
+4. Install python version 2.7.6 from http://www.python.org/download
+5. If Cygwin is already installed on the machine, ensure Cygwin binaries are not present in locations specified in the Windows path variable
+6. From pa\build directory issue the following commands
        - <CCS installation path>\ccsv5\utils\bin\gmake clean
        - <CCS installation path>\ccsv5\utils\bin\gmake install
-6. To build 'i' area issue the following commands from pa\build
+7. To build 'i' area issue the following commands from pa\build
        - <CCS installation path>\ccsv5\utils\bin\gmake ROM=K001 clean
        - <CCS installation path>\ccsv5\utils\bin\gmake ROM=K001 install
 
-
 To build the libraries from Cygwin:
 1. Copy the contents of pa/build/rules_cygwin_linux.mk to pa/build/rules.mk 
 2. Copy the the contents of pa/build/target_cygwin_linux.mk to pa/build/target.mk
@@ -41,11 +41,13 @@ To build the libraries from Linux:
        - update the version numbers of BIOS, XDC, IPC, Link and XDAIS
 4. In pa/build/target.mk
        - update the variable 'ROOTDIR' to reflect PAF installation path
-5. Ensure python, sed and make packages are installed on Linux host
-6. From pa/build directory issue the following commands
+5. In pa/build/rules.mk
+       - Replace all the occurences of `cygpath -w $<` with $<
+6. Ensure python, sed and make packages are installed on Linux host
+7. From pa/build directory issue the following commands
        - make clean
        - make install
-7. To build 'i' area issue the following commands from pa/build
+8. To build 'i' area issue the following commands from pa/build
        - make ROM=K001 clean
        - make ROM=K001 install
 
index b9fb4279a1180e290ca42d9a5614dfe3002af652..b3e43241e4e406d4144e2ab9fd069fb1215db29f 100644 (file)
@@ -67,7 +67,7 @@ ${LIBNAME}.lib: $(OBJS) $(ASMOBJS)
 # is used then that takes precedence. So we run it twice. Further there doesn't seem a way to place the pp file into anything other
 # than the source locations directory. So we move it.
 %.obj: %.c
-       $(SILENCE)echo -e "Compile: `cygpath -am $<`"
+       $(SILENCE)echo -e "Compile: `cygpath -w $<`"
        $(SILENCE)$(CC) $(CFLAGS) -ppc `cygpath -w $<`
        $(SILENCE)mv $(basename $<).pp .
        $(SILENCE)$(CC) $(CFLAGS) -ppd=$*.e -ppa `cygpath -w $<`
index dfc8f64dfda6e52601f4f1262633ca577b1cbd84..434e09e5c896e29bdc4446951c4405175947be77 100644 (file)
@@ -49,10 +49,10 @@ LINKVER=1_65_02_09
 XDAISVER=6_25_01_08
 
 
-CC = "$(CG_TOOLS)/bin/cl6x.exe"
-LD = "$(CG_TOOLS)/bin/lnk6x.exe"
-AR = "$(CG_TOOLS)/bin/ar6x.exe"
-NM = "$(CG_TOOLS)/bin/nm6x.exe"
+CC = "$(CG_TOOLS)/bin/cl6x"
+LD = "$(CG_TOOLS)/bin/lnk6x"
+AR = "$(CG_TOOLS)/bin/ar6x"
+NM = "$(CG_TOOLS)/bin/nm6x"
 
 # BIOS and XDC
 BIOS_PCKGS = ${TI_DIR}/${BIOSVER}/packages
similarity index 100%
rename from pa/sio/dro/makefile
rename to pa/sio/dro/Makefile
old mode 100644 (file)
new mode 100755 (executable)