android_kernel_xiaomi_sm8350/shs/Kbuild
Elmer Melendez 1ee784afd4 Fix Module Compilation Warnings
Add flag to disable indentation warnings.
This flag is specific to Clang-11 and should not affect Clang-10.

Change-Id: Ie46ece18810f283e93605a00a6bde89c47b5222b
2020-07-17 18:51:22 -06:00

16 lines
463 B
Makefile

#rmnet_shs needs the symbols from the core driver module
KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers
obj-m += rmnet_shs.o
#Need core headers
ccflags-y := -I$(RMNET_CORE_INC_DIR) \
$(call cc-option,-Wno-misleading-indentation)
rmnet_shs-y := rmnet_shs_config.o \
rmnet_shs_main.o \
rmnet_shs_common.o \
rmnet_shs_wq.o \
rmnet_shs_freq.o \
rmnet_shs_wq_mem.o \
rmnet_shs_wq_genl.o \
rmnet_shs_modules.o