Makefile 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. KASAN_SANITIZE_scm.o := n
  2. KCOV_INSTRUMENT_scm.o := n
  3. obj-$(CONFIG_QCOM_CPUSS_DUMP) += cpuss_dump.o
  4. obj-$(CONFIG_CPU_V7) += idle-v7.o
  5. obj-$(CONFIG_QCOM_GSBI) += qcom_gsbi.o
  6. obj-$(CONFIG_QCOM_LLCC) += llcc-core.o llcc-slice.o
  7. obj-$(CONFIG_QCOM_SDM845_LLCC) += llcc-sdm845.o
  8. obj-$(CONFIG_QCOM_SDM670_LLCC) += llcc-sdm670.o
  9. obj-$(CONFIG_QCOM_LLCC_PERFMON) += llcc_perfmon.o
  10. obj-$(CONFIG_QCOM_LLCC_AMON) += llcc-amon.o
  11. obj-$(CONFIG_QPNP_PBS) += qpnp-pbs.o
  12. obj-$(CONFIG_QCOM_PM) += spm.o
  13. obj-$(CONFIG_QCOM_SMD) += smd.o
  14. obj-$(CONFIG_QCOM_SMD_RPM) += smd-rpm.o
  15. obj-$(CONFIG_QCOM_SMEM) += smem.o
  16. obj-$(CONFIG_MSM_PM_LEGACY) += pm-boot.o msm-pm.o
  17. obj-$(CONFIG_MSM_SPM) += msm-spm.o spm_devices.o
  18. obj-$(CONFIG_QCOM_SMEM_STATE) += smem_state.o
  19. obj-$(CONFIG_QCOM_SMP2P) += smp2p.o
  20. obj-$(CONFIG_QCOM_SMSM) += smsm.o
  21. obj-$(CONFIG_QCOM_WCNSS_CTRL) += wcnss_ctrl.o
  22. CFLAGS_scm.o :=$(call as-instr,.arch_extension sec,-DREQUIRES_SEC=1)
  23. obj-$(CONFIG_QCOM_SCM) += scm.o scm-boot.o
  24. obj-$(CONFIG_QCOM_EARLY_RANDOM) += early_random.o
  25. obj-$(CONFIG_SOC_BUS) += socinfo.o
  26. obj-$(CONFIG_MSM_BOOT_STATS) += boot_stats.o
  27. obj-$(CONFIG_MSM_CORE_HANG_DETECT) += core_hang_detect.o
  28. obj-$(CONFIG_MSM_GLADIATOR_HANG_DETECT) += gladiator_hang_detect.o
  29. obj-$(CONFIG_MSM_GLADIATOR_ERP) += gladiator_erp.o
  30. obj-$(CONFIG_QCOM_EUD) += eud.o
  31. obj-$(CONFIG_QCOM_WATCHDOG_V2) += watchdog_v2.o
  32. obj-$(CONFIG_QCOM_MEMORY_DUMP_V2) += memory_dump_v2.o
  33. obj-$(CONFIG_QCOM_MINIDUMP) += msm_minidump.o minidump_log.o
  34. obj-$(CONFIG_QCOM_RUN_QUEUE_STATS) += rq_stats.o
  35. obj-$(CONFIG_QCOM_SECURE_BUFFER) += secure_buffer.o
  36. obj-$(CONFIG_MSM_SMEM) += msm_smem.o smem_debug.o
  37. obj-$(CONFIG_MSM_SMD) += msm_smd.o smd_debug.o smd_private.o smd_init_dt.o smsm_debug.o
  38. obj-$(CONFIG_MSM_GLINK) += glink.o glink_debugfs.o glink_ssr.o
  39. obj-$(CONFIG_MSM_TZ_SMMU) += msm_tz_smmu.o
  40. obj-$(CONFIG_MSM_GLINK_LOOPBACK_SERVER) += glink_loopback_server.o
  41. obj-$(CONFIG_MSM_GLINK_BGCOM_XPRT) += glink_bgcom_xprt.o
  42. obj-$(CONFIG_MSM_GLINK_SMEM_NATIVE_XPRT) += glink_smem_native_xprt.o
  43. obj-$(CONFIG_MSM_GLINK_SPI_XPRT) += glink_spi_xprt.o
  44. obj-$(CONFIG_MSM_SPCOM) += spcom.o
  45. obj-$(CONFIG_MSM_SPSS_UTILS) += spss_utils.o
  46. obj-$(CONFIG_TRACER_PKT) += tracer_pkt.o
  47. obj-$(CONFIG_QCOM_BUS_SCALING) += msm_bus/
  48. obj-$(CONFIG_QTI_RPMH_API) += rpmh.o
  49. obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd.o
  50. ifdef CONFIG_DEBUG_FS
  51. obj-$(CONFIG_MSM_RPM_SMD) += rpm-smd-debug.o
  52. endif
  53. obj-$(CONFIG_QTI_SYSTEM_PM) += system_pm.o
  54. obj-$(CONFIG_MSM_SERVICE_NOTIFIER) += service-notifier.o
  55. obj-$(CONFIG_MSM_SERVICE_LOCATOR) += service-locator.o
  56. obj-$(CONFIG_MSM_SMP2P) += msm_smp2p.o smp2p_loopback.o smp2p_debug.o smp2p_sleepstate.o
  57. obj-$(CONFIG_MSM_IPC_ROUTER_SMD_XPRT) += ipc_router_smd_xprt.o
  58. obj-$(CONFIG_MSM_IPC_ROUTER_HSIC_XPRT) += ipc_router_hsic_xprt.o
  59. obj-$(CONFIG_MSM_IPC_ROUTER_MHI_XPRT) += ipc_router_mhi_xprt.o
  60. obj-$(CONFIG_MSM_IPC_ROUTER_GLINK_XPRT) += ipc_router_glink_xprt.o
  61. obj-$(CONFIG_MSM_QMI_INTERFACE) += qmi_interface.o
  62. obj-$(CONFIG_MSM_GLINK_PKT) += msm_glink_pkt.o
  63. obj-y += qdsp6v2/
  64. obj-$(CONFIG_MSM_SYSTEM_HEALTH_MONITOR) += system_health_monitor_v01.o
  65. obj-$(CONFIG_MSM_SYSTEM_HEALTH_MONITOR) += system_health_monitor.o
  66. obj-$(CONFIG_MSM_SYSMON_GLINK_COMM) += sysmon-glink.o sysmon-qmi.o
  67. obj-$(CONFIG_ICNSS) += icnss.o wlan_firmware_service_v01.o
  68. obj-$(CONFIG_MEM_SHARE_QMI_SERVICE) += memshare/
  69. obj-$(CONFIG_MSM_PIL) += peripheral-loader.o
  70. obj-$(CONFIG_MSM_PIL_SSR_GENERIC) += subsys-pil-tz.o
  71. obj-$(CONFIG_MSM_PIL_SSR_BG) += subsys-pil-bg.o
  72. obj-$(CONFIG_MSM_PIL_MSS_QDSP6V5) += pil-q6v5.o pil-msa.o pil-q6v5-mss.o
  73. obj-$(CONFIG_MSM_BGCOM) += bgcom_spi.o
  74. obj-$(CONFIG_MSM_PERFORMANCE) += msm_performance.o
  75. ifdef CONFIG_MSM_SUBSYSTEM_RESTART
  76. obj-y += subsystem_notif.o
  77. obj-y += subsystem_restart.o
  78. obj-y += ramdump.o
  79. obj-y += microdump_collector.o
  80. endif
  81. obj-$(CONFIG_MSM_SYSMON_COMM) += sysmon.o sysmon-qmi.o
  82. obj-$(CONFIG_MSM_BGRSB) += bg_rsb.o
  83. obj-$(CONFIG_MSM_BGCOM_INTERFACE) += bgcom_interface.o
  84. obj-$(CONFIG_MSM_JTAGV8) += jtagv8.o jtagv8-etm.o
  85. obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
  86. obj-$(CONFIG_MSM_QBT1000) += qbt1000.o
  87. obj-$(CONFIG_MSM_EVENT_TIMER) += event_timer.o
  88. obj-$(CONFIG_MSM_IDLE_STATS) += lpm-stats.o
  89. obj-$(CONFIG_QCOM_DCC) += dcc.o
  90. obj-$(CONFIG_QCOM_DCC_V2) += dcc_v2.o
  91. obj-$(CONFIG_QTI_RPM_STATS_LOG) += rpm_stats.o
  92. ifdef CONFIG_MSM_RPM_SMD
  93. obj-$(CONFIG_QTI_RPM_STATS_LOG) += rpm_master_stat.o
  94. endif
  95. ifdef CONFIG_QTI_RPMH_API
  96. obj-$(CONFIG_QTI_RPM_STATS_LOG) += rpmh_master_stat.o
  97. endif
  98. obj-$(CONFIG_QCOM_SMCINVOKE) += smcinvoke.o
  99. obj-$(CONFIG_QMP_DEBUGFS_CLIENT) += qmp-debugfs-client.o
  100. obj-$(CONFIG_MSM_REMOTEQDSS) += remoteqdss.o
  101. obj-$(CONFIG_QSEE_IPC_IRQ_BRIDGE) += qsee_ipc_irq_bridge.o
  102. obj-$(CONFIG_QCOM_QDSS_BRIDGE) += qdss_bridge.o
  103. obj-$(CONFIG_MSM_BAM_DMUX) += bam_dmux.o
  104. obj-$(CONFIG_WCNSS_CORE) += wcnss/
  105. obj-$(CONFIG_BIG_CLUSTER_MIN_FREQ_ADJUST) += big_cluster_min_freq_adjust.o
  106. obj-$(CONFIG_MODEMSMEM) += modemsmem/
  107. # TODO: remove me b/62058353
  108. subdir-ccflags-y += \
  109. -Wno-asm-operand-widths \
  110. -Wno-ignored-attributes \
  111. -Wno-pointer-bool-conversion \
  112. -Wno-enum-conversion \
  113. -Wno-strlcpy-strlcat-size \
  114. -Wno-gcc-compat \