Statistics
| Branch: | Revision:

root / custompackages / move_code_to_sdk.sh @ 1e73dd2a

History | View | Annotate | Download (544 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_DIR='graph-parser'
6
DIR=$TOOLCHAIN_DIR/package/custom/$BASE_DIR
7

    
8
if [ -d "$DIR" ]; then
9
    rm -r "$DIR";
10
fi
11

    
12
mkdir $DIR
13
cp $BASE_DIR/Makefile $DIR/Makefile
14

    
15
mkdir $DIR/src
16
cp $BASE_DIR/src/*.h $DIR/src
17
cp $BASE_DIR/src/*.cpp $DIR/src
18
cp $BASE_DIR/src/*.tpp $DIR/src
19
cp $BASE_DIR/src/Makefile_openwrt $DIR/src/Makefile
20

    
21
cp -r $BASE_DIR/input $DIR