diff options
author | Raghavendra Rao Ananta <rananta@codeaurora.org> | 2020-07-28 15:19:41 -0700 |
---|---|---|
committer | Raghavendra Rao Ananta <rananta@codeaurora.org> | 2020-07-29 16:11:40 -0700 |
commit | 163986e4fecf15bd25e06303aab0abb310cb2b3c (patch) | |
tree | 04e2d7fc859c6d45c83ae5bfa62d716b8c88b234 /buildkernel.sh | |
parent | 7ec3b3cccea2a1df638ffbda2293db0fac572f4c (diff) |
kernel_definitions: Build the QGKI and GKI kernels in parallel
For $(PLATFORM)-qgki_defconfig, currently we build GKI and QGKI
kernels in a serial manner. To improve the build time, build the
kernels in parallel. For this, remove the 'make' target dependencies
between the two kernel builds and make sure that the defconfigs
for both the kernels are generated in sequence.
Change-Id: I55a12a5bc0de3c4eca9ba773a5cf20e2b104a0ee
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Diffstat (limited to 'buildkernel.sh')
-rwxr-xr-x | buildkernel.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildkernel.sh b/buildkernel.sh index 9ec3256..6880d95 100755 --- a/buildkernel.sh +++ b/buildkernel.sh @@ -146,7 +146,8 @@ copy_modules_to_prebuilt() PREBUILT_OUT=$1 # Clean the DLKM directory to remove stale modules - rm -rf ${KERNEL_MODULES_OUT} + rm -rf ${KERNEL_MODULES_OUT}/*.ko + rm -rf ${KERNEL_MODULES_OUT}/*.zip mkdir -p ${KERNEL_MODULES_OUT} |