Files
android_kernel_samsung_sm86…/core/Kbuild
Conner Huff d4342c871d rmnet_core: Remove rmnet_ctl from compilation
Break dependency between rmnet_core and rmnet_ctl
so that we can compile rmnet_core without
rmnet_ctl on yocto based targets.

Change-Id: I3bfa3dbcd24f9343d073107f40b6d98c77aba881
Signed-off-by: Conner Huff <chuff@codeaurora.org>
2021-06-08 10:27:52 -07:00

40 lines
698 B
Makefile

ifneq (, $(filter y, $(CONFIG_ARCH_LAHAINA) $(CONFIG_ARCH_WAIPIO)))
ccflags-y += -DRMNET_LA_PLATFORM
endif
ifeq ($(CONFIG_ARCH_SDXNIGHTJAR), y)
ccflags-y += -DRMNET_TRACE_INCLUDE_LE
endif
obj-m += rmnet_core.o
#core sources
rmnet_core-y := \
rmnet_config.o \
rmnet_handlers.o \
rmnet_descriptor.o \
rmnet_genl.o \
rmnet_map_command.o \
rmnet_map_data.o \
rmnet_vnd.o
rmnet_core-y += \
rmnet_ll.o \
rmnet_ll_ipa.o
#DFC sources
rmnet_core-y += \
qmi_rmnet.o \
wda_qmi.o \
dfc_qmi.o \
dfc_qmap.o \
rmnet_qmap.o \
rmnet_ll_qmap.o
ifneq (, $(filter y, $(CONFIG_ARCH_LAHAINA) $(CONFIG_ARCH_WAIPIO)))
obj-m += rmnet_ctl.o
rmnet_ctl-y := \
rmnet_ctl_client.o \
rmnet_ctl_ipa.o
endif