# Variables used by all scripts related to cross compiling Ariba for Openwrt
# Tweak here!

# Change this if your system doesn't have 2 cpu cores
MAKEOPTS="-j 2"

# ARIBA_BRCM_DIR will be declared when this file is sourced
TOOLCHAIN_DIR=$ARIBA_BRCM_DIR/toolchain
PATH=$TOOLCHAIN_DIR/usr/bin:$PATH

PATCHES_DIR=$ARIBA_BRCM_DIR/patches

CONFIG_ARGS="--host=mipsel-openwrt-linux --target=mipsel-openwrt-linux"
CROSS=mipsel-openwrt-linux-

CFLAGS="-mips32 -mtune=mips32"
CXXFLAGS="-mips32 -mtune=mips32"
LDFLAGS="-L$TOOLCHAIN_DIR/lib -L$TOOLCHAIN_DIR/usr/lib"
