]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blobdiff - boot_loader/examples/pcie/pcieboot_post/evmc6678l/bin/pcieboot_post_elf2HBin.sh
PCIE update from Eric Ding
[keystone-rtos/mcsdk-tools.git] / boot_loader / examples / pcie / pcieboot_post / evmc6678l / bin / pcieboot_post_elf2HBin.sh
index eb94c8245d711f0fff29b267adb9507d2d0233c8..51a4865476a7985aabb476540acecc574682a193 100755 (executable)
@@ -1,4 +1,4 @@
-export C6000_CG_DIR=~/ti/TI_CGT_C6000_7.3.1
+export C6000_CG_DIR=~/ti/TI_CGT_C6000_7.2.4
 export TOOL_DIR="../../../../../../"
 export TARGET=6678
 export ENDIAN=little
@@ -19,4 +19,10 @@ fi
 
 ../../../../../../bttbl2hfile/Bttbl2Hfile pcieboot_post.btbl pcieboot_post.h pcieboot_post.bin
 ../../../../../../hfile2array/hfile2array pcieboot_post.h post.h post
-mv post.h ../../../linux_host_loader/post_${TARGET}.h
+
+if [ ${ENDIAN} == little ]
+then
+mv post.h ../../../linux_host_loader/LE/post_${TARGET}.h
+else
+mv post.h ../../../linux_host_loader/BE/post_${TARGET}.h
+fi
\ No newline at end of file