qcom: Build dtbos inline
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
DTC_INCLUDE += $(srctree)/../sm8750-modules/qcom/opensource/audio-kernel/include
|
||||
|
||||
ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
|
||||
dtbo-y += pineapple-audio.dtbo \
|
||||
pineapple-audio-cdp.dtbo \
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
AUDIO_DEVICETREE_ROOT=$(KERNEL_SRC)/$(M)
|
||||
AUDIO_KERNEL_ROOT=$(AUDIO_DEVICETREE_ROOT)/../../opensource/audio-kernel/include
|
||||
|
||||
KBUILD_OPTIONS += KBUILD_DTC_INCLUDE=$(AUDIO_KERNEL_ROOT)
|
||||
KBUILD_OPTIONS += KBUILD_EXTMOD_DTS=.
|
||||
KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
|
||||
KBUILD_OPTIONS += MODNAME=audio-devicetree
|
||||
|
||||
|
||||
all: dtbs
|
||||
|
||||
dtbs:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) dtbs $(KBUILD_OPTIONS)
|
||||
|
||||
modules_install:
|
||||
$(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
|
||||
|
||||
clean:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) clean
|
||||
Reference in New Issue
Block a user