hikey/hikey960: support to specify the prebuilt kernel dir out of aosp tree
add LOCAL_KERNEL_HOME variable to support the use of out of aosp tree
prebuilt kernel dir, like the dist directory when building kernel
according to the instructions here[1].
[1]: https://source.android.com/setup/build/building-kernels
Test: export LOCAL_KERNEL_HOME=<out/hikey960/dist>
export TARGET_KERNEL_USE=5.4
source build/envsetup.sh; lunch hikey960-userdebug; make -j$(nproc) droidcore
export LOCAL_KERNEL_HOME=<out/hikey/dist>
export HIKEY_USES_GKI=true
source build/envsetup.sh; lunch hikey-userdebug; make -j$(nproc) droidcore
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ide62267aa7b51d43280b4d3cefa0cbc82295b0d7
3 files changed