aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2019-07-29 16:12:42 +0100
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2019-07-29 16:12:42 +0100
commit4dcef8263ecaf7297b0a58994b0b0722905ae6bd (patch)
tree15ed97d09b11a2a3169199e0ae5bafd43714c6f0 /package
parent5c661f5aaaa6ad74bdbe083615799449d3bf0442 (diff)
downloadupstream-4dcef8263ecaf7297b0a58994b0b0722905ae6bd.tar.gz
upstream-4dcef8263ecaf7297b0a58994b0b0722905ae6bd.tar.bz2
upstream-4dcef8263ecaf7297b0a58994b0b0722905ae6bd.zip
Revert "kmod-sched-cake: drop out of tree package, use kernel version"
This reverts commit 5c094ff660fd8e750ed1c1f38719a45065e77348. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/kmod-sched-cake/Makefile42
-rw-r--r--package/kernel/linux/modules/netsupport.mk16
2 files changed, 42 insertions, 16 deletions
diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile
new file mode 100644
index 0000000000..35446641ab
--- /dev/null
+++ b/package/kernel/kmod-sched-cake/Makefile
@@ -0,0 +1,42 @@
+#
+# Copyright (C) 2016 LEDE
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=sched-cake
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
+PKG_SOURCE_DATE:=2019-03-12
+PKG_SOURCE_VERSION:=057c738801e9dc64e8dd72a3fc4f50734214433c
+PKG_MIRROR_HASH:=5bf06a804824db36ae393fc174aeec7b12633176e05a765c0931b39df5bd34df
+PKG_MAINTAINER:=Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
+
+include $(INCLUDE_DIR)/package.mk
+
+define KernelPackage/sched-cake
+ SUBMENU:=Network Support
+ TITLE:=Cake fq_codel/blue derived shaper
+ URL:=https://github.com/dtaht/sch_cake
+ FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
+ AUTOLOAD:=$(call AutoLoad,75,sch_cake)
+ DEPENDS:=+kmod-ipt-conntrack
+endef
+
+include $(INCLUDE_DIR)/kernel-defaults.mk
+
+define KernelPackage/sched-cake/description
+ Common Applications Kept Enhanced fq_codel/blue derived shaper
+endef
+
+define Build/Compile
+ $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules
+endef
+
+$(eval $(call KernelPackage,sched-cake))
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index 5779378b27..b0d1da33d1 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -789,22 +789,6 @@ endef
$(eval $(call KernelPackage,sched-core))
-define KernelPackage/sched-cake
- SUBMENU:=$(NETWORK_SUPPORT_MENU)
- TITLE:=Cake fq_codel/blue derived shaper
- DEPENDS:=+kmod-sched-core
- KCONFIG:=CONFIG_NET_SCH_CAKE
- FILES:=$(LINUX_DIR)/net/sched/sch_cake.ko
- AUTOLOAD:=$(call AutoProbe,sch_cake)
- DEPENDS:=+kmod-ipt-conntrack
-endef
-
-define KernelPackage/sched-cake/description
- Common Applications Kept Enhanced fq_codel/blue derived shaper
-endef
-
-$(eval $(call KernelPackage,sched-cake))
-
define KernelPackage/sched-flower
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Flower traffic classifier