From 62fb53c7e42f706bfe83e411aecf57fb0cf7ec6a Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Thu, 8 Jun 2023 22:15:47 +0800 Subject: [PATCH] fixx --- shortcut-fe/fast-classifier/Makefile | 4 ++-- shortcut-fe/shortcut-fe/Makefile | 6 +++--- shortcut-fe/simulated-driver/Makefile | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/shortcut-fe/fast-classifier/Makefile b/shortcut-fe/fast-classifier/Makefile index 410a0df28..09c1174dd 100644 --- a/shortcut-fe/fast-classifier/Makefile +++ b/shortcut-fe/fast-classifier/Makefile @@ -24,7 +24,7 @@ define KernelPackage/fast-classifier/Default SECTION:=kernel CATEGORY:=Kernel modules SUBMENU:=Network Support - DEPENDS:=@KERNEL_5_4 +kmod-ipt-conntrack +kmod-shortcut-fe + DEPENDS:=+kmod-ipt-conntrack +kmod-shortcut-fe TITLE:=Kernel driver for FAST Classifier FILES:=$(PKG_BUILD_DIR)/fast-classifier.ko KCONFIG:= \ @@ -59,7 +59,7 @@ endef define Package/fast-classifier-example TITLE:=Example user space program for fast-classifier - DEPENDS:=@KERNEL_5_4 +libnl +kmod-fast-classifier + DEPENDS:=+libnl +kmod-fast-classifier endef define Package/fast-classifier-example/description diff --git a/shortcut-fe/shortcut-fe/Makefile b/shortcut-fe/shortcut-fe/Makefile index c84bfa964..df295ca0f 100644 --- a/shortcut-fe/shortcut-fe/Makefile +++ b/shortcut-fe/shortcut-fe/Makefile @@ -24,7 +24,7 @@ define KernelPackage/shortcut-fe SECTION:=kernel CATEGORY:=Kernel modules SUBMENU:=Network Support - DEPENDS:=@KERNEL_5_4 @IPV6 +kmod-nf-conntrack + DEPENDS:=@IPV6 +kmod-nf-conntrack TITLE:=Kernel driver for SFE FILES:= \ $(PKG_BUILD_DIR)/shortcut-fe.ko \ @@ -53,7 +53,7 @@ define KernelPackage/shortcut-fe-cm SECTION:=kernel CATEGORY:=Kernel modules SUBMENU:=Network Support - DEPENDS:=@KERNEL_5_4 +kmod-ipt-conntrack +kmod-shortcut-fe + DEPENDS:=+kmod-ipt-conntrack +kmod-shortcut-fe TITLE:=Kernel driver for SFE FILES:=$(PKG_BUILD_DIR)/shortcut-fe-cm.ko KCONFIG:= \ @@ -79,7 +79,7 @@ endef ifneq ($(CONFIG_PACKAGE_kmod-shortcut-fe)$(CONFIG_PACKAGE_kmod-shortcut-fe-cm),) define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include + $(INSTALL_DIR) $(1)/usr/include $(INSTALL_DIR) $(1)/usr/include/shortcut-fe $(CP) -rf $(PKG_BUILD_DIR)/sfe.h $(1)/usr/include/shortcut-fe $(CP) -rf $(PKG_BUILD_DIR)/sfe.h $(1)/usr/include diff --git a/shortcut-fe/simulated-driver/Makefile b/shortcut-fe/simulated-driver/Makefile index 7dcb320d9..60034b89c 100644 --- a/shortcut-fe/simulated-driver/Makefile +++ b/shortcut-fe/simulated-driver/Makefile @@ -30,7 +30,7 @@ define KernelPackage/shortcut-fe-drv SECTION:=kernel CATEGORY:=Kernel modules SUBMENU:=Network Support - DEPENDS:=@KERNEL_5_4 @TARGET_ipq806x||TARGET_ipq807x +kmod-shortcut-fe + DEPENDS:=@TARGET_ipq806x||TARGET_ipq807x +kmod-shortcut-fe KCONFIG:= \ CONFIG_NET_CLS_ACT=y \ CONFIG_XFRM=y