aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-05-31 19:02:00 -0400
committerbnewbold <bnewbold@robocracy.org>2010-06-04 19:05:10 -0400
commit3b11433f360c62419df9c4bf61bcaf1b69d06ec7 (patch)
treee804d79b18418a5052dc569895936e3b6d7f2301 /support
parent220eaa0272a96275a46f81bb347124e3a4daa6f8 (diff)
downloadlibrambutan-3b11433f360c62419df9c4bf61bcaf1b69d06ec7.tar.gz
librambutan-3b11433f360c62419df9c4bf61bcaf1b69d06ec7.zip
updated TODO, copy-to-ide
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/copy-to-ide16
1 files changed, 10 insertions, 6 deletions
diff --git a/support/scripts/copy-to-ide b/support/scripts/copy-to-ide
index 2af1620..571936e 100755
--- a/support/scripts/copy-to-ide
+++ b/support/scripts/copy-to-ide
@@ -20,7 +20,13 @@ FILES="LICENSE
./wirish/main.cxx
./wirish/*.cpp
./wirish/comm/*.cpp
- ./wirish/comm/*.h"
+ ./wirish/comm/*.h
+ ./support/ld/flash.ld
+ ./support/ld/ram.ld
+ ./support/ld/jtag.ld
+ ./support/ld/libcs3-lanchon-stm32.a
+ ./support/ld/names.inc"
+
echo "First make sure DEST exists: $DEST"
if !(test -d $DEST/lanchon-stm32)
@@ -28,11 +34,9 @@ then
mkdir $DEST/lanchon-stm32
fi
-echo "Then copy over linker files..."
-cp stm32conf/* $DEST
-cp stm32conf/lanchon-stm32/* $DEST/lanchon-stm32
+echo "Then delete the old files..."
+rm $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.ld $DEST/*.inc $DEST/*.a
-echo "Finally delete the old and copy the new source files!"
-rm $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx
+echo "Finally copy the new source files!"
cp $FILES $DEST
echo "Done."