android: integrate kernel5.15 [2/5]
PD#SWPL-80766
Problem:
need support android kernel build
Solution:
1. disable build initramfs, system_dlkm.img, vendor_dlkm.img, boot.img
2. support build initramfs, system_dlkm.img, vendor_dlkm.img, boot.img
3. disable extern driver copy build
4. disable auto add extra driver symbols
5. add 3 interface for android project build: MAKE_GOALS_ANDROID, FILES_ANDROID, EXT_MODULES_ANDROID
6. add BUILD_GKI_BOOT_IMG_GZ_SIZE
7. add KERNEL_BUILD_VAR_FILE to export some variables for file copy
8. disable build rootfs when android build
9. when android build, only copy kernel and common_drivers modules ko to dist/modules/
10. when android build, only set the kernel and common_drivers modules to modules.dep
11. strip modules which in dist/modules dist/ext_modules
12. optimize the compilation of external drivers, support the build of drivers
in the upper and upper directories of the kernel
Verify:
s4d
Change-Id: I0e79b15653ed1c01a5ce505fe868502ae2a8ec22
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
3 files changed