e824b3eb4b879abeb4915679fbcb1c11a9d4b94f
[open-ath9k-htc-firmware.git] / builds_fusion_vista.ram
1 #!/bin/bash
2
3 MAGPIE_ROOT=`pwd`/../../../../;export MAGPIE_ROOT
4 PROJECT=k2; export PROJECT
5 TARGET=ram; export TARGET
6
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
11
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
14
15 HPATH=" -I$XTENSA_TOOLS_INC                             \
16         -I$XTENSA_GCC_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";
32
33
34 export HPATH
35
36
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
40
41 ARCH=""; export ARCH
42 DEFS=""; export DEFS
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