root / scripts / move_code_to_sdk.sh @ 911d0520
History | View | Annotate | Download (619 Bytes)
1 |
# SDK_DIR="/home/quynh/Thesis/sdk/OpenWrt-SDK-15.05-realview_gcc-4.8-linaro_uClibc-0.9.33.2_eabi.Linux-x86_64"/ |
---|---|
2 |
# cp -r libboost $SDK_DIR/package |
3 |
|
4 |
TOOLCHAIN_DIR="/home/quynh/Thesis/cc-openwrt" |
5 |
BASE_NAME='graph-parser' |
6 |
BASE_DIR='/home/quynh/Thesis/quynhnguyen-ms/custompackages/graph-parser' |
7 |
DIR=$TOOLCHAIN_DIR/package/custom/$BASE_NAME |
8 |
|
9 |
if [ -d "$DIR" ]; then |
10 |
rm -r "$DIR"; |
11 |
fi |
12 |
|
13 |
mkdir $DIR |
14 |
cp $BASE_DIR/Makefile $DIR/Makefile |
15 |
|
16 |
mkdir $DIR/src |
17 |
cp $BASE_DIR/src/*.h $DIR/src |
18 |
cp $BASE_DIR/src/*.cpp $DIR/src |
19 |
cp $BASE_DIR/src/*.tpp $DIR/src |
20 |
cp $BASE_DIR/src/Makefile_openwrt $DIR/src/Makefile |
21 |
|
22 |
cp -r $BASE_DIR/input $DIR |