kernel: drop qca-nss-dp and qca-ssdk
Now that all targets using NSS-DP and SSDK have been converted, we can finally drop these. Signed-off-by: Robert Marko <robimarko@gmail.com>Link: https://github.com/openwrt/openwrt/pull/22381 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
af17ab0a3f
commit
d0d71dcc09
2 changed files with 0 additions and 162 deletions
|
|
@ -1,54 +0,0 @@
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=qca-nss-dp
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://github.com/openwrt/qca-nss-dp.git
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_DATE:=2026-03-13
|
|
||||||
PKG_SOURCE_VERSION:=6a5c4716ca258d67202fc7964c9294dfefa3ccfa
|
|
||||||
PKG_MIRROR_HASH:=5f9a9a44f91842492d8c9038670379011b90e68fda7af291b2bdd81889a9ea1a
|
|
||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
PKG_FLAGS:=nonshared
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define KernelPackage/qca-nss-dp
|
|
||||||
SECTION:=kernel
|
|
||||||
CATEGORY:=Kernel modules
|
|
||||||
SUBMENU:=Network Devices
|
|
||||||
DEPENDS:=@TARGET_qualcommax +kmod-qca-ssdk
|
|
||||||
TITLE:=Qualcom NSS dataplane ethernet driver
|
|
||||||
FILES:=$(PKG_BUILD_DIR)/qca-nss-dp.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,31,qca-nss-dp,1)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define KernelPackage/qca-nss-dp/Description
|
|
||||||
NSS dataplane ethernet driver for Qualcom SoCs.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
mkdir -p $(1)/usr/include/qca-nss-dp
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/exports/* $(1)/usr/include/qca-nss-dp/
|
|
||||||
endef
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+= \
|
|
||||||
-I$(STAGING_DIR)/usr/include/qca-ssdk
|
|
||||||
|
|
||||||
NSS_DP_HAL_DIR:=$(PKG_BUILD_DIR)/hal
|
|
||||||
define Build/Configure
|
|
||||||
$(CP) $(NSS_DP_HAL_DIR)/soc_ops/$(CONFIG_TARGET_SUBTARGET)/nss_$(CONFIG_TARGET_SUBTARGET).h \
|
|
||||||
$(PKG_BUILD_DIR)/exports/nss_dp_arch.h
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
+$(KERNEL_MAKE) $(PKG_JOBS) \
|
|
||||||
-C "$(LINUX_DIR)" \
|
|
||||||
M="$(PKG_BUILD_DIR)" \
|
|
||||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" SoC="$(CONFIG_TARGET_SUBTARGET)" \
|
|
||||||
modules
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,qca-nss-dp))
|
|
||||||
|
|
@ -1,108 +0,0 @@
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=qca-ssdk
|
|
||||||
PKG_RELEASE:=1
|
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://github.com/openwrt/qca-ssdk.git
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_DATE:=2026-06-04
|
|
||||||
PKG_SOURCE_VERSION:=bb4f3f0b947ebfce51c78a8d39f57c7c758521c9
|
|
||||||
PKG_MIRROR_HASH:=da990d2956db471071568fd6c7c9193b075f9a1e87e5ae5ac8729cc4dba9dc24
|
|
||||||
|
|
||||||
PKG_FLAGS:=nonshared
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
PKG_BUILD_FLAGS:=no-lto
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define KernelPackage/qca-ssdk
|
|
||||||
SECTION:=kernel
|
|
||||||
CATEGORY:=Kernel modules
|
|
||||||
SUBMENU:=Network Devices
|
|
||||||
TITLE:=Qualcom SSDK switch driver
|
|
||||||
DEPENDS:=@(TARGET_qualcommax)
|
|
||||||
FILES:=$(PKG_BUILD_DIR)/qca-ssdk.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,30,qca-ssdk)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define KernelPackage/qca-ssdk/Description
|
|
||||||
Driver for Qualcomm Atheros switches.
|
|
||||||
endef
|
|
||||||
|
|
||||||
GCC_VERSION=$(shell echo "$(CONFIG_GCC_VERSION)" | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')
|
|
||||||
|
|
||||||
LNX_CONFIG_OPTS = LNX_MAKEOPTS='$(KERNEL_MAKEOPTS)' PRJ_PATH=$(PKG_BUILD_DIR) MODULE_TYPE=KSLIB modules
|
|
||||||
|
|
||||||
EXTRA_CFLAGS:= \
|
|
||||||
-fno-stack-protector \
|
|
||||||
-Wno-missing-prototypes \
|
|
||||||
-Wno-missing-declarations \
|
|
||||||
-I$(STAGING_DIR)/usr/include
|
|
||||||
|
|
||||||
MAKE_FLAGS+= \
|
|
||||||
TARGET_NAME=$(CONFIG_TARGET_NAME) \
|
|
||||||
TOOL_PATH=$(firstword $(TOOLCHAIN_BIN_DIRS)) \
|
|
||||||
SYS_PATH=$(LINUX_DIR) \
|
|
||||||
TOOLPREFIX=$(TARGET_CROSS) \
|
|
||||||
KVER=$(LINUX_VERSION) \
|
|
||||||
ARCH=$(LINUX_KARCH) \
|
|
||||||
TARGET_SUFFIX=$(CONFIG_TARGET_SUFFIX) \
|
|
||||||
GCC_VERSION=$(GCC_VERSION) \
|
|
||||||
EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
|
|
||||||
SoC=$(CONFIG_TARGET_SUBTARGET) \
|
|
||||||
SHELL="$(BASH)" \
|
|
||||||
PTP_FEATURE=disable SWCONFIG_FEATURE=disable \
|
|
||||||
ISISC_ENABLE=disable MHT_ENABLE=disable \
|
|
||||||
IN_QCA803X_PHY=FALSE IN_QCA808X_PHY=FALSE \
|
|
||||||
IN_MALIBU_PHY=FALSE IN_MP_PHY=FALSE \
|
|
||||||
$(LNX_CONFIG_OPTS)
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x")
|
|
||||||
MAKE_FLAGS+= CHIP_TYPE=HPPE
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq60xx")
|
|
||||||
MAKE_FLAGS+= CHIP_TYPE=CPPE \
|
|
||||||
IN_AQUANTIA_PHY=TRUE
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq50xx")
|
|
||||||
MAKE_FLAGS+= CHIP_TYPE=MP
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
+$(MAKE) $(PKG_JOBS) $(MAKE_FLAGS) -C $(PKG_BUILD_DIR) $(LNX_CONFIG_OPTS)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/api
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/ref
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/fal
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/sal
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/qca-ssdk/init
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/api/sw_ioctl.h $(1)/usr/include/qca-ssdk/api
|
|
||||||
if [ -f $(PKG_BUILD_DIR)/include/ref/ref_vsi.h ]; then \
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_vsi.h $(1)/usr/include/qca-ssdk/ref/; \
|
|
||||||
fi
|
|
||||||
if [ -f $(PKG_BUILD_DIR)/include/ref/ref_fdb.h ]; then \
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_fdb.h $(1)/usr/include/qca-ssdk/ref/; \
|
|
||||||
fi
|
|
||||||
if [ -f $(PKG_BUILD_DIR)/include/ref/ref_port_ctrl.h ]; then \
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/ref/ref_port_ctrl.h $(1)/usr/include/qca-ssdk/ref/; \
|
|
||||||
fi
|
|
||||||
if [ -f $(PKG_BUILD_DIR)/include/init/ssdk_init.h ]; then \
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/init/ssdk_init.h $(1)/usr/include/qca-ssdk/init/; \
|
|
||||||
fi
|
|
||||||
if [ -f $(PKG_BUILD_DIR)/include/init/ssdk_netlink.h ]; then \
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/init/ssdk_netlink.h $(1)/usr/include/qca-ssdk/init/; \
|
|
||||||
fi
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/fal $(1)/usr/include/qca-ssdk
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/common/*.h $(1)/usr/include/qca-ssdk
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/sal/os/linux/*.h $(1)/usr/include/qca-ssdk
|
|
||||||
$(CP) -rf $(PKG_BUILD_DIR)/include/sal/os/*.h $(1)/usr/include/qca-ssdk
|
|
||||||
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call KernelPackage,qca-ssdk))
|
|
||||||
Loading…
Reference in a new issue