summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e75c06)
raw | patch | inline | side by side (parent: 4e75c06)
author | Yaniv Machani <yanivma@ti.com> | |
Thu, 10 Jul 2014 13:52:21 +0000 (16:52 +0300) | ||
committer | Yaniv Machani <yanivma@ti.com> | |
Thu, 10 Jul 2014 13:52:21 +0000 (16:52 +0300) |
build_wl18xx.sh | patch | blob | history |
diff --git a/build_wl18xx.sh b/build_wl18xx.sh
index 40a499003e32140b33d0cc2bb4c59bc0c10dcb78..fbcc3f42db1254083f00d02351f76f401353a0da 100755 (executable)
--- a/build_wl18xx.sh
+++ b/build_wl18xx.sh
function read_kernel_version()
{
- filename=`repo_path kernel`/Makefile
+ filename=$KERNEL_PATH/Makefile
if [ ! -f $filename ]
then
function clean_kernel()
{
- echo "Cleaning kernel folder"
- cd_repo kernel
- git clean -fdx > /dev/null
+ [ "$DEFAULT_KERNEL" ] && echo "Cleaning kernel folder"
+ [ "$DEFAULT_KERNEL" ] && cd_repo kernel
+ [ "$DEFAULT_KERNEL" ] && git clean -fdx > /dev/null
}
function clean_outputs()