[openwrt/openwrt] qca-ssdk: add support for ipq60xx

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 9 05:02:03 PST 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a79efe4cdf4531f4fef2bc0b73ad25046151673b

commit a79efe4cdf4531f4fef2bc0b73ad25046151673b
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sat Oct 14 20:48:28 2023 +0200

    qca-ssdk: add support for ipq60xx
    
    IPQ60xx uses a different codename for SSDK, so lets pass the correct one
    as otherwise SSDK asumes we are building for the old MIPS SoC-s.
    
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    [ drop outdated commit description info ]
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/kernel/qca-ssdk/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/kernel/qca-ssdk/Makefile b/package/kernel/qca-ssdk/Makefile
index 2517b80069..7eccdaa1d7 100644
--- a/package/kernel/qca-ssdk/Makefile
+++ b/package/kernel/qca-ssdk/Makefile
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=qca-ssdk
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-ssdk.git
 PKG_SOURCE_PROTO:=git
@@ -53,6 +53,10 @@ ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")
     MAKE_FLAGS+= CHIP_TYPE=HPPE
 endif
 
+ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq60xx")
+    MAKE_FLAGS+= CHIP_TYPE=CPPE
+endif
+
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/api




More information about the lede-commits mailing list