kmod-sched-cake: fix 6in4/gso performance issue
[openwrt/openwrt.git] / package / kernel / kmod-sched-cake / Makefile
1 #
2 # Copyright (C) 2016 LEDE
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=sched-cake
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
16 PKG_SOURCE_DATE:=2018-09-11
17 PKG_SOURCE_VERSION:=42e87f12ea5c390bf5eeb658c942bc810046160a
18 PKG_MIRROR_HASH:=56c71ae079e4c64aef2564d42d2efd31621e7e9f5220844ad1ea795e2f1cb1fd
19 PKG_MAINTAINER:=Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define KernelPackage/sched-cake
24 SUBMENU:=Network Support
25 TITLE:=Cake fq_codel/blue derived shaper
26 URL:=https://github.com/dtaht/sch_cake
27 FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
28 AUTOLOAD:=$(call AutoLoad,75,sch_cake)
29 DEPENDS:=+kmod-ipt-conntrack @!LINUX_3_18
30 endef
31
32 include $(INCLUDE_DIR)/kernel-defaults.mk
33
34 define KernelPackage/sched-cake/description
35 Common Applications Kept Enhanced fq_codel/blue derived shaper
36 endef
37
38 define Build/Compile
39 $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules
40 endef
41
42 $(eval $(call KernelPackage,sched-cake))