519278db1c79159872a7567a41eac4a722d10303
[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/kdarbyshirebryant/sch_cake.git
16 PKG_SOURCE_DATE:=2016-12-19
17 PKG_SOURCE_VERSION:=70c8eb766d5afcf3cf187594b7cd776da92bee3c
18 PKG_MIRROR_HASH:=16174db5dad0a5b5ba522d4cfc058cff9851ed013a3a05166b04eb127bb12a24
19 PKG_MAINTAINER:=Kevin Darbyshire-Bryant <kevin@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 $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
40 endef
41
42 $(eval $(call KernelPackage,sched-cake))