Files
kernel_common_drivers/sound/Makefile
T
wanwei.jiang 3eab75fcab script: compatible android kernel build [2/2]
PD#SWPL-80766

Problem:
compatible android kernel build

Solution:
1. modify the Kconfig and Makefile of sound to avoid the "../" directory,
which leads to failure in building the ramdisk.
2. support build dtbo
3. support build system_dlkm and vendor_dlkm, and import rootfs's modules loading sequence

Verify:
s4d and a1

Change-Id: I98e6852e2603bb259839567316a0ba53a87f696e
Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
2022-05-25 01:14:27 +08:00

14 lines
324 B
Makefile

# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
obj-$(CONFIG_SND) += soc/
KBUILD_CFLAGS_MODULE += $(GKI_EXT_KERNEL_MODULE_PREDEFINE)
all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(GKI_EXT_KERNEL_MODULE_CONFIG)
modules_install:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules_install
clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean