瀏覽代碼

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 <[email protected]>
[ drop outdated commit description info ]
Signed-off-by: Christian Marangi <[email protected]>
Robert Marko 2 年之前
父節點
當前提交
a79efe4cdf
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      package/kernel/qca-ssdk/Makefile

+ 5 - 1
package/kernel/qca-ssdk/Makefile

@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 include $(TOPDIR)/rules.mk
 
 
 PKG_NAME:=qca-ssdk
 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_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-ssdk.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_PROTO:=git
@@ -53,6 +53,10 @@ ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")
     MAKE_FLAGS+= CHIP_TYPE=HPPE
     MAKE_FLAGS+= CHIP_TYPE=HPPE
 endif
 endif
 
 
+ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq60xx")
+    MAKE_FLAGS+= CHIP_TYPE=CPPE
+endif
+
 define Build/InstallDev
 define Build/InstallDev
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/api
 	$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/api