Revision 3de6402b

View differences:

custompackages/graph-parser/Makefile
73 73
define Package/graph-parser/install
74 74
	$(INSTALL_DIR) $(1)/bin
75 75
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/graph-parser $(1)/bin/
76
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/input/simple.edges $(1)/bin/
76
	mkdir -p $(1)/input
77
	$(CP) $(PKG_BUILD_DIR)/input/* $(1)/input/
77 78
endef
78 79

  
79 80

  
scripts/compile_toolchain.sh
24 24

  
25 25
# find . -maxdepth 1 -type f -name '*' -exec mv -n {} ./$_now \;
26 26
echo "All binary files are in ./bin/realview/$_dirname"
27
# ELF_FILE_PATH=$BIN_DIR$_dirname"/openwrt-realview-vmlinux-initramfs.elf"
28
# qemu-system-arm -M realview-eb-mpcore -kernel $ELF_FILE_PATH -net nic -net user -nographic
27
ELF_FILE_PATH=$BIN_DIR$_dirname"/openwrt-realview-vmlinux-initramfs.elf"
28
qemu-system-arm -M realview-eb-mpcore -kernel $ELF_FILE_PATH -net nic -net user -nographic
scripts/move_code_to_sdk.sh
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

Also available in: Unified diff