1 # \\\//
2 # -(o o)-
3 #========================oOO==(_)==OOo=======================
4 #
5 # This file contains the exports needed for automating the
6 # build process of WLAN/Bluetooth components.
7 # Place this file in the same directory with wl12xx_build.sh/wl12xx_build_bt.sh
8 # build scripts. No need to run 'source setup-env', the build
9 # scripts will perfom it internaly.
10 #
11 #===========================================================
12 # User specific environment settings
13 export CROSS_COMPILE="arm-none-linux-gnueabi-"
14 export PATH="$PATH:<toolchain path>"
15 export ROOTFS=<path to root filesystem>
16 export WORK_SPACE=<working directory>
17 export KLIB_BUILD=<linux-kernel>
18 export BUILD_VERSION="r8"
19 # MACHINE_TYPE - The target machine type. Can have one of the following values: "am1808" , "omap3evm" , "am335x"
20 # This is needed to build bluetooth components.
21 # This parameter is not relevant for ti814x board.
22 export MACHINE_TYPE="am335x"
24 #===========================================================
25 export ARCH="arm"
26 export MY_PREFIX="/usr"
27 export MY_SYSCONFDIR="/etc"
28 export MY_LOCALSTATEDIR="/var"
29 export CC="${CROSS_COMPILE}gcc"
30 export CXX="${CROSS_COMPILE}g++"
31 export AR="${CROSS_COMPILE}ar"
32 export RANLIB="${CROSS_COMPILE}ranlib"
33 export CFLAGS="${CFLAGS} -I${ROOTFS}${MY_PREFIX}/include"
34 export CPPFLAGS="${CFLAGS}"
35 export LDFLAGS="${LDFLAGS} -L${ROOTFS}${MY_PREFIX}/lib"
36 export PKG_CONFIG_SYSROOT_DIR=${ROOTFS}
37 export PKG_CONFIG_PATH="${ROOTFS}${MY_PREFIX}/lib/pkgconfig:${ROOTFS}/lib/pkgconfig"
38 export PKG_CONFIG_LIBDIR=""
39 export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=""
40 export PKG_CONFIG_ALLOW_SYSTEM_LIBS=""
41 LS=/bin/ls