Kbuild 658 B

123456789101112131415161718192021222324252627282930313233343536
  1. ifneq (, $(filter y, $(CONFIG_ARCH_PINEAPPLE) $(CONFIG_ARCH_BLAIR) $(CONFIG_ARCH_MONACO)))
  2. ccflags-y += -DRMNET_LA_PLATFORM
  3. endif
  4. obj-m += rmnet_core.o
  5. #core sources
  6. rmnet_core-y := \
  7. rmnet_config.o \
  8. rmnet_handlers.o \
  9. rmnet_descriptor.o \
  10. rmnet_genl.o \
  11. rmnet_map_command.o \
  12. rmnet_map_data.o \
  13. rmnet_module.o \
  14. rmnet_vnd.o
  15. rmnet_core-y += \
  16. rmnet_ll.o \
  17. rmnet_ll_ipa.o
  18. #DFC sources
  19. rmnet_core-y += \
  20. qmi_rmnet.o \
  21. wda_qmi.o \
  22. dfc_qmi.o \
  23. dfc_qmap.o \
  24. rmnet_qmap.o \
  25. rmnet_ll_qmap.o
  26. ifneq (, $(filter y, $(CONFIG_ARCH_PINEAPPLE) $(CONFIG_ARCH_BLAIR)))
  27. obj-m += rmnet_ctl.o
  28. rmnet_ctl-y := \
  29. rmnet_ctl_client.o \
  30. rmnet_ctl_ipa.o
  31. endif