Files
kernel_oneplus_8750-modules/qcom/opensource/dsp-kernel/Makefile.am
chandu078 4b4153b0f5 Add 'qcom/opensource/dsp-kernel/' from commit '89391286fb7b0a5e53599eeb3588e174080459f9'
git-subtree-dir: qcom/opensource/dsp-kernel
git-subtree-mainline: 0ced3dc6c6
git-subtree-split: 89391286fb
2025-08-03 09:13:01 +05:30

19 lines
527 B
Makefile

DSP_KERNEL_ROOT=$(ROOTDIR)vendor/qcom/opensource/dsp-kernel
KBUILD_OPTIONS := DSP_KERNEL_ROOT=$(DSP_KERNEL_ROOT) CONFIG_QCOM_FASTRPC_TRUSTED=m
ifeq ($(TARGET_SUPPORT),genericarmv8)
KBUILD_OPTIONS += CONFIG_ARCH_PINEAPPLE=y
endif
all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
clean:
rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
rm -rf .tmp_versions