aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-09-02 20:03:32 -0400
committerbnewbold <bnewbold@robocracy.org>2010-09-02 20:03:32 -0400
commit3b2cca3d375ad1d5301b1223119fba834a84e3fb (patch)
tree9ffb06a8a96167141bc23b77efdd6574ab3d54a8
parent6783e66eb168034880a9ef4847e901a6d4c911d8 (diff)
downloadlibrambutan-3b2cca3d375ad1d5301b1223119fba834a84e3fb.tar.gz
librambutan-3b2cca3d375ad1d5301b1223119fba834a84e3fb.zip
changes to copy-to-ide for portable branch
-rwxr-xr-xsupport/scripts/copy-to-ide9
1 files changed, 4 insertions, 5 deletions
diff --git a/support/scripts/copy-to-ide b/support/scripts/copy-to-ide
index 011cca7..5bf52a4 100755
--- a/support/scripts/copy-to-ide
+++ b/support/scripts/copy-to-ide
@@ -21,9 +21,8 @@ FILES="LICENSE
./wirish/*.cpp
./wirish/comm/*.cpp
./wirish/comm/*.h
- ./support/ld/flash.ld
- ./support/ld/ram.ld
- ./support/ld/jtag.ld
+ ./support/ld/maple/
+ ./support/ld/maple_native/
./support/ld/libcs3-lanchon-stm32.a
./support/ld/names.inc"
@@ -36,8 +35,8 @@ then
fi
echo "Then delete the old files..."
-rm $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.ld $DEST/*.inc $DEST/*.a
+rm -r $DEST/*.c $DEST/*.cpp $DEST/*.h $DEST/*.cxx $DEST/*.ld $DEST/*.inc $DEST/*.a $DEST/maple/ $DEST/maple_native/
echo "Finally copy the new source files!"
-cp $FILES $DEST
+cp -r $FILES $DEST
echo "Done."