qcacld-3.0: Fix the compiler error- Argument list too long

Create symbolic link for all header files under qcacld-3.0/inc
and modify Kbuild to reduce -I options.

Bug: 319341302
Test: Build pass
Original-Change-Id: Ib69ab644d6450739f2f0df9390fc8904f830a01c
Signed-off-by: Victor Hsu <hsuvictor@google.com>

[Rocky7842]
  Adapt to 4.19.
  Always use symlinks instead of guarding under Google's flag
  CONFIG_WCN_GOOGLE, since it won't compile without the flag either
  way.

Change-Id: I90e496e13ad2b8034cc4b9868f92c607fcc98c26
Signed-off-by: Rocky7842 <eric.rocky7842@gmail.com>
This commit is contained in:
Victor Hsu authored and Nolen Johnson committed 2026-04-20 23:15:56 -04:00
1 parent f9d9ed9e6d
commit afa2337251
472 files changed
+483 -44

No files matched your search

+3 -23
View File
@@ -2050,47 +2050,27 @@ endif
LINUX_INC := -I $(srctree)/include
INCS := $(HDD_INC) \
$(SYNC_INC) \
$(DSC_INC) \
INCS := -I $(srctree)/$(WLAN_ROOT)/inc \
$(EPPING_INC) \
$(LINUX_INC) \
$(MAC_INC) \
$(SAP_INC) \
$(SME_INC) \
$(SYS_INC) \
$(QAL_INC) \
$(QDF_INC) \
$(WBUFF_INC) \
$(CDS_INC) \
$(CFG_INC) \
$(DFS_INC) \
$(TARGET_IF_INC) \
$(CLD_TARGET_IF_INC) \
$(OS_IF_INC) \
$(GLOBAL_LMAC_IF_INC) \
$(FTM_INC)
INCS += $(WMA_INC) \
$(UAPI_INC) \
$(COMMON_INC) \
$(FTM_INC) \
$(WMI_INC) \
$(FWLOG_INC) \
$(TXRX_INC) \
$(OL_INC) \
$(CDP_INC) \
$(PKTLOG_INC) \
$(HTT_INC) \
$(INIT_DEINIT_INC) \
$(SCHEDULER_INC) \
$(REGULATORY_INC) \
$(HTC_INC) \
$(DFS_INC) \
$(WCFG_INC) \
$(TXRX3.0_INC)
INCS += $(HIF_INC) \
$(BMI_INC) \
$(HIF_INC) \
$(CMN_SYS_INC)
ifeq ($(CONFIG_LITHIUM), y)
@@ -29,7 +29,7 @@
#ifdef WLAN_FEATURE_NAN
#include "../src/nan_main_i.h"
#include "nan_main_i.h"
struct wlan_objmgr_psoc;
@@ -22,7 +22,7 @@
#include "wlan_objmgr_psoc_obj.h"
#include "cfg_nan_api.h"
#include "../../core/src/nan_main_i.h"
#include "nan_main_i.h"
#include "wlan_mlme_ucfg_api.h"
#include "cfg_ucfg_api.h"
#include "cfg_nan.h"
@@ -23,7 +23,7 @@
#include "nan_ucfg_api.h"
#include "nan_public_structs.h"
#include "wlan_nan_api.h"
#include "../../core/src/nan_main_i.h"
#include "nan_main_i.h"
#include "scheduler_api.h"
#include "wlan_objmgr_psoc_obj.h"
#include "wlan_objmgr_pdev_obj.h"
@@ -23,7 +23,7 @@
#include "wlan_p2p_api.h"
#include <wlan_objmgr_psoc_obj.h>
#include "wlan_p2p_public_struct.h"
#include "../../core/src/wlan_p2p_main.h"
#include "wlan_p2p_main.h"
bool wlan_p2p_check_oui_and_force_1x1(uint8_t *assoc_ie, uint32_t assoc_ie_len)
{
@@ -23,7 +23,7 @@
#include <wlan_objmgr_psoc_obj.h>
#include "wlan_p2p_public_struct.h"
#include "wlan_p2p_cfg_api.h"
#include "../../core/src/wlan_p2p_main.h"
#include "wlan_p2p_main.h"
#include "wlan_mlme_ucfg_api.h"
static inline struct p2p_soc_priv_obj *
@@ -30,9 +30,9 @@
#include <wlan_objmgr_peer_obj.h>
#include "wlan_p2p_tgt_api.h"
#include "wlan_p2p_public_struct.h"
#include "../../core/src/wlan_p2p_main.h"
#include "../../core/src/wlan_p2p_roc.h"
#include "../../core/src/wlan_p2p_off_chan_tx.h"
#include "wlan_p2p_main.h"
#include "wlan_p2p_roc.h"
#include "wlan_p2p_off_chan_tx.h"
#define IEEE80211_FC0_TYPE_MASK 0x0c
#define P2P_NOISE_FLOOR_DBM_DEFAULT (-96)
@@ -26,9 +26,9 @@
#include <scheduler_api.h>
#include "wlan_p2p_public_struct.h"
#include "wlan_p2p_ucfg_api.h"
#include "../../core/src/wlan_p2p_main.h"
#include "../../core/src/wlan_p2p_roc.h"
#include "../../core/src/wlan_p2p_off_chan_tx.h"
#include "wlan_p2p_main.h"
#include "wlan_p2p_roc.h"
#include "wlan_p2p_off_chan_tx.h"
static inline struct wlan_lmac_if_p2p_tx_ops *
ucfg_p2p_psoc_get_tx_ops(struct wlan_objmgr_psoc *psoc)
@@ -20,7 +20,7 @@
* DOC: contains nan target if functions
*/
#include "../../../nan/core/src/nan_main_i.h"
#include "nan_main_i.h"
#include "nan_public_structs.h"
#include "nan_ucfg_api.h"
#include "target_if_nan.h"
@@ -25,7 +25,7 @@
#ifndef _WLAN_TDLS_TGT_API_H_
#define _WLAN_TDLS_TGT_API_H_
#include <wlan_tdls_public_structs.h>
#include "../../core/src/wlan_tdls_main.h"
#include "wlan_tdls_main.h"
/**
* tgt_tdls_set_fw_state() - invoke lmac tdls update fw
@@ -22,7 +22,7 @@
#include <wlan_objmgr_psoc_obj.h>
#include "wlan_tdls_cfg_api.h"
#include "../../core/src/wlan_tdls_main.h"
#include "wlan_tdls_main.h"
QDF_STATUS
cfg_tdls_get_support_enable(struct wlan_objmgr_psoc *psoc,
@@ -24,9 +24,9 @@
#include "qdf_status.h"
#include <wlan_tdls_tgt_api.h>
#include "../../core/src/wlan_tdls_main.h"
#include "../../core/src/wlan_tdls_cmds_process.h"
#include "../../core/src/wlan_tdls_mgmt.h"
#include "wlan_tdls_main.h"
#include "wlan_tdls_cmds_process.h"
#include "wlan_tdls_mgmt.h"
static inline struct wlan_lmac_if_tdls_tx_ops *
wlan_psoc_get_tdls_txops(struct wlan_objmgr_psoc *psoc)
@@ -24,10 +24,10 @@
#include <wlan_tdls_ucfg_api.h>
#include <wlan_tdls_tgt_api.h>
#include "../../core/src/wlan_tdls_main.h"
#include "../../core/src/wlan_tdls_cmds_process.h"
#include "../../core/src/wlan_tdls_ct.h"
#include "../../core/src/wlan_tdls_mgmt.h"
#include "wlan_tdls_main.h"
#include "wlan_tdls_cmds_process.h"
#include "wlan_tdls_ct.h"
#include "wlan_tdls_mgmt.h"
#include <wlan_objmgr_global_obj.h>
#include <wlan_objmgr_cmn.h>
#include "wlan_policy_mgr_api.h"
+1
View File
@@ -0,0 +1 @@
../os_if/sync/src/__osif_driver_sync.h
+1
View File
@@ -0,0 +1 @@
../os_if/sync/src/__osif_psoc_sync.h
+1
View File
@@ -0,0 +1 @@
../os_if/sync/src/__osif_vdev_sync.h
+1
View File
@@ -0,0 +1 @@
../components/dsc/src/__wlan_dsc.h
+1
View File
@@ -0,0 +1 @@
../uapi/linux/a_debug.h
+1
View File
@@ -0,0 +1 @@
../uapi/linux/a_types.h
+1
View File
@@ -0,0 +1 @@
../core/mac/inc/ani_global.h
+1
View File
@@ -0,0 +1 @@
../core/mac/inc/ani_system_defs.h
+1
View File
@@ -0,0 +1 @@
../uapi/linux/athstartpack.h
+1
View File
@@ -0,0 +1 @@
../core/bmi/inc/bmi.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_api.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_config.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_crypto.h
@@ -0,0 +1 @@
../core/cds/inc/cds_ieee80211_common.h
@@ -0,0 +1 @@
../core/cds/src/cds_ieee80211_common_i.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_packet.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_reg_service.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_regdomain.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_sched.h
+1
View File
@@ -0,0 +1 @@
../core/cds/inc/cds_utils.h
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_adaptive_dwelltime.h
+1
View File
@@ -0,0 +1 @@
../components/cfg/cfg_all.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_coex.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_fwol.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_fwol_generic.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_ie_whitelist.h
+1
View File
@@ -0,0 +1 @@
../components/ipa/dispatcher/inc/cfg_ipa.h
+1
View File
@@ -0,0 +1 @@
../core/dp/ol/inc/cfg_legacy_dp.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_acs.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_btm.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_chainmask.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_dfs.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_dot11mode.h
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_edca_params.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_fe_rrm.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_fe_wlm.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_fe_wmm.h
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_feature_flag.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_generic.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_he_caps.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_ht_caps.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_ibss.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_lfr.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_mbo.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_mwc.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_nss_chains.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_obss_ht40.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_oce.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_power.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_powersave.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_rates.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_reg.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_sap.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_scoring.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_sta.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_stats.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_threshold.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_timeout.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_twt.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_vht_caps.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_wep_params.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_wifi_pos.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_mlme_wps_params.h
+1
View File
@@ -0,0 +1 @@
../components/nan/dispatcher/inc/cfg_nan.h
+1
View File
@@ -0,0 +1 @@
../components/nan/dispatcher/inc/cfg_nan_api.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_neighbor_roam.h
+1
View File
@@ -0,0 +1 @@
../components/pkt_capture/dispatcher/inc/cfg_pkt_capture.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_qos.h
+1
View File
@@ -0,0 +1 @@
../components/mlme/dispatcher/inc/cfg_sap_protection.h
+1
View File
@@ -0,0 +1 @@
../components/fw_offload/dispatcher/inc/cfg_thermal_temp.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_api.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_host_scan_roam.h
+1
View File
@@ -0,0 +1 @@
../core/sme/src/csr/csr_inside_api.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_internal.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_link_list.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_neighbor_roam.h
+1
View File
@@ -0,0 +1 @@
../core/sme/inc/csr_support.h
+1
View File
@@ -0,0 +1 @@
../uapi/linux/dbglog_common.h
+1
View File
@@ -0,0 +1 @@
../uapi/linux/debug_linux.h
+1
View File
@@ -0,0 +1 @@
../core/mac/src/include/dot11f.h
+1
View File
@@ -0,0 +1 @@
../core/mac/src/sys/legacy/src/utils/inc/dot11fdefs.h
+1
View File
@@ -0,0 +1 @@
../core/dp/txrx3.0/dp_fisa_rx.h
+1
View File
@@ -0,0 +1 @@
../core/dp/txrx3.0/dp_rx_thread.h
+1
View File
@@ -0,0 +1 @@
../core/dp/txrx3.0/dp_txrx.h
+1
View File
@@ -0,0 +1 @@
../core/mac/src/include/dph_global.h
+1
View File
@@ -0,0 +1 @@
../core/mac/src/dph/dph_hash_table.h
Loaded 100 of 472 files, more files were not shown because too many files have changed in this diff. Show more