35446641ab9e1d655d27904ab044bd06c2810194
[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:=2019-03-12
17 PKG_SOURCE_VERSION:=057c738801e9dc64e8dd72a3fc4f50734214433c
18 PKG_MIRROR_HASH:=5bf06a804824db36ae393fc174aeec7b12633176e05a765c0931b39df5bd34df
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
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))