summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 278dcb2)
raw | patch | inline | side by side (parent: 278dcb2)
author | Yaniv Machani <yanivma@ti.com> | |
Tue, 21 Jul 2015 11:36:46 +0000 (14:36 +0300) | ||
committer | Yaniv Machani <yanivma@ti.com> | |
Tue, 21 Jul 2015 11:36:46 +0000 (14:36 +0300) |
Signed-off-by: Yaniv Machani <yanivma@ti.com>
build_wl18xx.sh | patch | blob | history | |
configuration.sh | patch | blob | history |
diff --git a/build_wl18xx.sh b/build_wl18xx.sh
index 31f3a513c5e3e151399f6545d75e1b3d62747765..d3efcbfe71ab4cd6d4f5b5071ce843bbce30915e 100755 (executable)
--- a/build_wl18xx.sh
+++ b/build_wl18xx.sh
cd_back
}
+function rebuild_intree()
+{
+ cd_repo driver
+ export KERNEL_PATH=`repo_path driver`
+
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=net/wireless/ modules
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=net/wireless/ modules_install
+
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=net/mac80211/ modules
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=net/mac80211/ modules_install
+
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=drivers/net/wireless/ti/ modules
+ INSTALL_MOD_PATH=`path filesystem` make -j${PROCESSORS_NUMBER} M=drivers/net/wireless/ti/ modules_install
+
+ assert_no_error
+ cd_back
+}
+
function build_uimage()
{
cd_repo kernel
cp `repo_path fw_download`/*.bin `path filesystem`/lib/firmware/ti-connectivity
}
+function build_fw()
+{
+ cd `repo_path firmware-build`/victoria/firmware
+ [ -z $NO_CLEAN ] && ./build.sh clean
+ ./build.sh
+ cp `repo_path firmware-build`/victoria/firmware/out/Firmware18xx/wl18xx-fw-4.bin `path filesystem`/lib/firmware/ti-connectivity
+ cp `repo_path firmware-build`/victoria/firmware/out/Firmware18xx/wl18xx-fw-4.bin `path outputs`
+ cd_back
+}
+
+
function patch_kernel()
{
[ ! -d $KERNEL_PATH ] && echo "Error KERNEL_PATH: $KERNEL_PATH dir does not exist" && exit 1
#################### Building single components #############################
'kernel')
print_highlight " building only Kernel "
- #clean_kernel
+ #clean_kernel
build_uimage
;;
'intree')
print_highlight " building modules intree"
- #clean_kernel
build_intree
;;
+ 'intree_m')
+ print_highlight " Building JUST wireless modules intree"
+ rebuild_intree
+ ;;
+
'kernel_modules')
print_highlight " building kernel and driver modules"
build_uimage
build_fw_download
;;
+ 'fw')
+ print_highlight " building only firmware"
+ build_fw
+ ;;
+
'patch_kernel')
print_highlight " only patching kernel $2 without performing an actual build!"
NO_BUILD=1
diff --git a/configuration.sh b/configuration.sh
index 4ad8ce361f70b8fb12a04c9e3784e374a8f8b920..2794223e712a916d5a5df1addddf92c7ec060458 100755 (executable)
--- a/configuration.sh
+++ b/configuration.sh
bt-firmware
git://git.ti.com/ti-bt/service-packs.git
master
+
+firmware-build
+git@gitorious.design.ti.com:wilink-wlan/firmware-build.git
+staging
+
)