3 MAGPIE_ROOT=`pwd`/../../../../;export MAGPIE_ROOT
4 PROJECT=k2; export PROJECT
5 TARGET=ram; export TARGET
7 PRJ_ROOT=$MAGPIE_ROOT/build/k2_1_0; export PRJ_ROOT
8 PRJNAME=ram; export PRJNAME
9 PRJPATH=$PRJ_ROOT/$PRJNAME; export PRJPATH
10 PRJ_HPATH=$PRJPATH/inc; export PRJ_HPATH
12 XTENSA_TOOLS_INC=$XTENSA_TOOLS_ROOT/xtensa-elf/include
13 XTENSA_GCC_INC=$XTENSA_TOOLS_ROOT/lib/gcc/xtensa-elf/4.7.2/include
15 HPATH=" -I$XTENSA_TOOLS_INC \
17 -I$MAGPIE_ROOT/target/inc/k2 \
18 -I$MAGPIE_ROOT/target/inc/k2/k2 \
19 -I$MAGPIE_ROOT/../wlan/include \
20 -I$MAGPIE_ROOT/../wlan/include/k2 \
21 -I$MAGPIE_ROOT/../wlan/ \
22 -I$MAGPIE_ROOT/target/cmnos/ \
23 -I$MAGPIE_ROOT/target/wmi/ \
24 -I$MAGPIE_ROOT/target/wlan/ \
25 -I$MAGPIE_ROOT/target/buf_pool/ \
26 -I$MAGPIE_ROOT/target/htc/ \
27 -I$MAGPIE_ROOT/target/inc \
28 -I$MAGPIE_ROOT/target/inc/OTUS \
29 -I$MAGPIE_ROOT/target/adf/ \
30 -I$MAGPIE_ROOT/build/include/xtensa-elf/ \
31 -I$MAGPIE_ROOT/build/include";
37 LIB_PATH=$PRJ_ROOT/lib/ram; export LIB_PATH
38 CROSS_COMPILE=$XTENSA_TOOLS_ROOT/bin; export CROSS_COMPILE
39 TARGET_PREFIX=xt-; export TARGET_PREFIX
43 CCOPTS=" -g -Os -Wunused-label -Wunused-variable -Wunused-value -Wpointer-arith -Wundef -nostdlib -Wundef"; export CCOPTS
44 ASOPTS="-Wa, --fatal-warnings"; export ASOPTS
45 DFLAGS="-D_RAM_ -DPROJECT_K2 -DBIG_ENDIAN -D_BYTE_ORDER=_BIG_ENDIAN -D__XTENSA__ -DFUSION_USB_FW -DRX_SCATTER -DFUSION_USB_ENABLE_TX_STREAM -DFUSION_USB_ENABLE_RX_STREAM -DATH_ENABLE_CABQ"; export DFLAGS
46 TARGET_LDFLAGS="-g -nostdlib"; export TARGET_LDFLAGS