android_kernel_samsung_sm86.../Kbuild.am
Anirudh Raghavendra 9f5f25be96 Add support for LE compilation
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>
2023-01-26 23:23:19 -08:00

16 lines
517 B
Plaintext

# ported from Android.mk
$(info within KBUILD file KBUILD_EXTRA_SYMBOLS = $(KBUILD_EXTRA_SYMBOLS))
ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
$(info within KBUILD file CONFIG_ARCH_PINEAPPLE = $(CONFIG_ARCH_PINEAPPLE))
KBUILD_CPPFLAGS += -DCONFIG_DSP_PINEAPPLE=1
ccflags-y += -DCONFIG_DSP_PINEAPPLE=1
ccflags-y += -DCONFIG_MSM_ADSPRPC_TRUSTED=1
endif
frpc-trusted-adsprpc-y := dsp/adsprpc.o \
dsp/adsprpc_compat.o \
dsp/adsprpc_socket.o \
obj-m := frpc-trusted-adsprpc.o