Merge branch 'master' of gtgit01.gt.design.ti.com:git/projects/mcsdk-tools
authorJingting Zhou <zhoujt@ti.com>
Fri, 17 Aug 2012 16:22:51 +0000 (12:22 -0400)
committerJingting Zhou <zhoujt@ti.com>
Fri, 17 Aug 2012 16:22:51 +0000 (12:22 -0400)
boot_loader/IBL_buildibl_windows.sh [new file with mode: 0644]

diff --git a/boot_loader/IBL_buildibl_windows.sh b/boot_loader/IBL_buildibl_windows.sh
new file mode 100644 (file)
index 0000000..1c6690b
--- /dev/null
@@ -0,0 +1,19 @@
+sudo apt-get install mingw-w64\r
+sudo ln -s /usr/bin/i686-w64-mingw32-gcc /usr/local/bin/gcc \r
+sudo ln -s /usr/bin/i686-w64-mingw32-gcc /usr/local/bin/cc \r
+mkdir bootloader_temp\r
+cp -r boot_loader bootloader_temp \r
+mv bootloader_temp/boot_loader boot_loader_temp\r
+rm -r bootloader_temp\r
+rm boot_loader/ibl/src/util/bconvert/bconvert64x\r
+cd boot_loader/ibl/src/make\r
+source setupenvLnx.sh\r
+make evm_c6678_i2c ENDIAN=little I2C_BUS_ADDR=0x51  \r
+cp -f ../util/btoccs/b2ccs ../../../../boot_loader_temp/b2ccs\r
+cp -f ../util/btoccs/b2i2c ../../../../boot_loader_temp/b2i2c\r
+cp -f ../util/btoccs/ccs2bin ../../../../boot_loader_temp/ccs2bin\r
+cp -f ../util/bconvert/bconvert64x ../../../../boot_loader_temp/bconvert64x\r
+cp -f ../util/romparse/romparse ../../../../boot_loader_temp/romparse\r
+cd ../../../../\r
+rm -r boot_loader\r
+mv boot_loader_temp boot_loader\r