added disclaimer.txt and disclaimer to the scripts
[ti-bt/build-utils.git] / README
1 This repository holds small usefull utilities to ease such tasks as build of Bluetooth packages
3 BlueZ_5.19_wl18xx_build_bt_for_SDK7: build Bluetooth components
4 ======================================
5 By calling specific utility name and action. This script compiles one of utilities: 
7 Usage: wl12xx_build.sh target <
8                         expat 
9                         libffi
10                         glib 
11                         dbus 
12                         libIConv 
13                         zlib 
14                         gettext 
15                         alsa-lib 
16                         dbus-glib 
17                         check 
18                         python 
19                         pygobject 
20                         dbus-python 
21                         bluez 
22                         hcidump 
23                         ncurses 
24                         readline 
25                         openobex 
26                         udev 
27                         libical 
28                         obexd 
29                         bt-obex 
30                         firmware 
31                         wl1271-demo >  action <download|build|install>
32                         all
33                         clean-all
35 In case the options is 'all' all utilities will be downloaded and installed on root file system.
36 Option clean-all uninstalls all components and removes their sources from computer.
38 File setup-env contains all required environment variables:
39         ROOTFS=<path to target root file system>
40 Cross compiler to be used to compile all components:
41         CROSS_COMPILER=arm-none-linux-gnueabi-
42 Path to tool chain used to compile sources:
43         PATH=$PATH:<toolchain path>
44 Path where kernel sources can be found
45         KLIB_BUILD=< path to kernel build>
46 Working directory where all necessary sources will be downloaded and compiled
47         WORK_SPACE=<path>
48 Type of target board, used during build of bluetooth, currently supported: "am1808", "omap3evm", "am335x"
49         MACHINE_TYPE=
50 Path where pkg-config utility looks for configuration files (.pc) of libraries
51         PKG_CONFIG_PATH=${ROOTFS}/lib/pkgconfig:${ROOTFS}/usr/lib/pkgconfig
52         PKG_CONFIG_DEBUG_SPEW
53         PKG_CONFIG_LIBDIR=${PKG_CONFIG_PATH}
55 Path to root file system where new kernel modules will be installed
56         KLIB=$ROOTFS
57 Compiler
58         CC=${CROSS_COMPILE}gcc  
59 Linker
60         LD=${CROSS_COMPILE}ldd
61 Ranlib utility
62         RANLIB=${CROSS_COMPILE}ranlib
63 Archiver for libraries
64         AR=${CROSS_COMPILE}ar
65 'ls' utility, to ensure no alias is used
66 LS=/bin/ls