diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-02-22 00:34:16 +0100 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2019-02-22 00:35:56 +0100 |
commit | 780f88f83b0e02676f14ada70d0e95da0aaf38bd (patch) | |
tree | a3f02d6f74fe2e0404108f7334f213f11ca86abe /lt-qcom-linux | |
parent | 18d2c0e426510d05fc5ea00c845850f98cbe9473 (diff) |
lt-qcom-linux/build-kernel: fix typos
* do not fetch tags (for now). it is problematic for git describe, but
we do a shallow clone, so fetching the tags fetch everyting.. FIXME
* create 'build' folder when needed
Change-Id: I62801e03b3df9b76ac85f4c35255b4c6e156c477
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-linux')
-rw-r--r-- | lt-qcom-linux/build-kernel.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lt-qcom-linux/build-kernel.sh b/lt-qcom-linux/build-kernel.sh index fe352e8e..4f9f0d35 100644 --- a/lt-qcom-linux/build-kernel.sh +++ b/lt-qcom-linux/build-kernel.sh @@ -16,8 +16,8 @@ export PATH=${tcbindir}:$PATH pushd ${WORKSPACE}/linux # bring in stable and mainline tags -git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git -git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git +#git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git +#git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git KERNEL_DESCRIBE=$(git describe --always) @@ -38,6 +38,7 @@ EOF # Config if [ -f ./chromeos/scripts/prepareconfig ] && [ -f chromeos/config/$ARCH/"${KERNEL_CONFIGS}.flavour.config" ]; then + mkdir build ./chromeos/scripts/prepareconfig ${KERNEL_CONFIGS} build/.config make O=build olddefconfig else |