Makefile 421 B

123456789101112131415161718
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. ccflags-y += -Wmissing-prototypes
  3. ifeq ($(CONFIG_CNSS_OUT_OF_TREE),y)
  4. ccflags-y += -I$(WLAN_PLATFORM_ROOT)/cnss_utils
  5. ccflags-y += -I$(WLAN_PLATFORM_ROOT)/inc
  6. else
  7. ccflags-y += -I$(srctree)/drivers/net/wireless/cnss_utils/
  8. endif
  9. obj-$(CONFIG_ICNSS2) += icnss2.o
  10. icnss2-y := main.o
  11. icnss2-y += debug.o
  12. icnss2-y += power.o
  13. icnss2-y += genl.o
  14. icnss2-$(CONFIG_ICNSS2_QMI) += qmi.o