Add .am files for LE build compilation. These files will replace Makefile and Kbuild files only on LE builds. Change-Id: Ib8dfa89523adf802acce57be0d2064f790bac6d2 Signed-off-by: Anirudh Raghavendra <quic_araghave@quicinc.com>
19 lines
526 B
Makefile
19 lines
526 B
Makefile
DSP_KERNEL_ROOT=$(ROOTDIR)vendor/qcom/opensource/dsp-kernel
|
|
KBUILD_OPTIONS := DSP_KERNEL_ROOT=$(DSP_KERNEL_ROOT) CONFIG_MSM_ADSPRPC_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
|