[openwrt/openwrt] qca-ssdk: fix compiling for ipq60xx

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 23 08:43:40 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/de5d1f44aeac0b11cdc74b203ef88f837a5f414a

commit de5d1f44aeac0b11cdc74b203ef88f837a5f414a
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sun Jun 23 17:24:57 2024 +0200

    qca-ssdk: fix compiling for ipq60xx
    
    Trying to compile for ipq60xx will fail with:
    ERROR: modpost: "qca808x_phy_reset" [build_dir/target-aarch64_cortex-a53_musl/linux-qualcommax_ipq60xx/qca-ssdk-2024.06.13~c451136b/qca-ssdk.ko] undefined!
    
    So, lets fix this by disabling Manhattan switch and PHY support as this is
    the new 2.5G quad port switch that is not present on ipq60xx boards.
    
    Fixes: 87a45ea43207 ("kernel: qca-ssdk: update 12.5 to 2024-06-13")
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/kernel/qca-ssdk/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile
index 9c5d4925b8..16b2b4477d 100644
--- a/package/kernel/qca-ssdk/Makefile
+++ b/package/kernel/qca-ssdk/Makefile
@@ -47,8 +47,9 @@ MAKE_FLAGS+= \
 	SoC=$(CONFIG_TARGET_SUBTARGET) \
 	SHELL="$(BASH)" \
 	PTP_FEATURE=disable SWCONFIG_FEATURE=disable \
-	ISISC_ENABLE=disable IN_QCA803X_PHY=FALSE \
-	IN_QCA808X_PHY=FALSE IN_MALIBU_PHY=FALSE \
+	ISISC_ENABLE=disable MHT_ENABLE=disable \
+	IN_QCA803X_PHY=FALSE IN_QCA808X_PHY=FALSE \
+	IN_MALIBU_PHY=FALSE \
 	$(LNX_CONFIG_OPTS)
 
 ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")




More information about the lede-commits mailing list