Added BlueZ build scripts
[ti-bt/build-utils.git] / README
1 This repository holds small usefull utilities to ease such tasks as build of WLAN packages
3 wl12xx_build.sh: build WLAN components
4 ======================================
5 This script compiles one of following utilities: libnl, openssl, hostapd, wpa_supplicant,wl12xx_modules,firmware,crda,callibrator
6 by calling specific utility name and action.
8 Usage: wl12xx_build.sh target <
9                                 libnl
10                                 openssl
11                                 hostap
12                                 wpa_supplicant
13                                 wl12xx_modules
14                                 firmware
15                                 crda
16                                 callibrator >  action <download|build|install>
17                         all
18                         clean-all
20 In case the options is 'all' all utilities will be downloaded and installed on root file system.
21 Option clean-all uninstalls all components and removes their sources from computer.
23 File setup-env contains all required environment variables:
24         ROOTFS=<path to target root file system>
25 Cross compiler to be used to compile all components:
26         CROSS_COMPILER=arm-none-linux-gnueabi-
27 Path to tool chain used to compile sources:
28         PATH=$PATH:<toolchain path>
29 Path where kernel sources can be found
30         KLIB_BUILD=< path to kernel build>
31 Working directory where all necessary sources will be downloaded and compiled
32         WORK_SPACE=<path>
33 Type of target board, used during build of bluetooth, currently supported: "am1808", "omap3evm", "am335x"
34         MACHINE_TYPE=
35 Path where pkg-config utility looks for configuration files (.pc) of libraries
36         PKG_CONFIG_PATH=${ROOTFS}/lib/pkgconfig:${ROOTFS}/usr/lib/pkgconfig
37         PKG_CONFIG_DEBUG_SPEW
38         PKG_CONFIG_LIBDIR=${PKG_CONFIG_PATH}
40 Path to root file system where new kernel modules will be installed
41         KLIB=$ROOTFS
42 Compiler
43         CC=${CROSS_COMPILE}gcc  
44 Linker
45         LD=${CROSS_COMPILE}ldd
46 Ranlib utility
47         RANLIB=${CROSS_COMPILE}ranlib
48 Archiver for libraries
49         AR=${CROSS_COMPILE}ar
50 'ls' utility, to ensure no alias is used
51 LS=/bin/ls