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