summaryrefslogtreecommitdiff
path: root/buildkernel.sh
diff options
context:
space:
mode:
authorRaghavendra Rao Ananta <rananta@codeaurora.org>2020-05-31 18:14:05 -0700
committerRaghavendra Rao Ananta <rananta@codeaurora.org>2020-06-23 13:09:08 -0700
commit66e0943f925310404ab522af3b3babb858f819f4 (patch)
treecc4462ae899b7c9695849ab7344f8a8ff61e8e6a /buildkernel.sh
parent5a3a39e72a5c9044aae3a63cb8065b825e7b4e5e (diff)
kernelscripts: Enhance the build scripts to build additional kernel
For the sake of GKI compliance testing, QGKI and GKI should be sharing the same vendor.img and vendor_boot.img. Hence, the idea is to build the GKI kernel along with QGKI such that the modules could be packaged accordingly. Change-Id: I72141017240c68278714bd9f4a9338e6a7fc3dfc Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Diffstat (limited to 'buildkernel.sh')
-rwxr-xr-xbuildkernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildkernel.sh b/buildkernel.sh
index 26a6a42..f5e8e0a 100755
--- a/buildkernel.sh
+++ b/buildkernel.sh
@@ -383,7 +383,7 @@ if [ ! -z ${USE_PREBUILT_KERNEL} ] && [ -d ${KERNEL_BINS} ]; then
fi
#use kernel source for building
-if [ ! -z ${HEADERS_INSTALL} ]; then
+if [ "${HEADERS_INSTALL}" -ne "0" ]; then
make_defconfig
headers_install
else