1
0

Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=sched-cake
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_PROTO:=git
  12. PKG_SOURCE_URL:=https://github.com/kdarbyshirebryant/sch_cake.git
  13. PKG_SOURCE_DATE:=2016-12-19
  14. PKG_SOURCE_VERSION:=70c8eb766d5afcf3cf187594b7cd776da92bee3c
  15. PKG_MIRROR_HASH:=16174db5dad0a5b5ba522d4cfc058cff9851ed013a3a05166b04eb127bb12a24
  16. PKG_MAINTAINER:=Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
  17. include $(INCLUDE_DIR)/package.mk
  18. define KernelPackage/sched-cake
  19. SUBMENU:=Network Support
  20. TITLE:=Cake fq_codel/blue derived shaper
  21. URL:=https://github.com/dtaht/sch_cake
  22. FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
  23. AUTOLOAD:=$(call AutoLoad,75,sch_cake)
  24. DEPENDS:=+kmod-ipt-conntrack @!LINUX_3_18
  25. endef
  26. include $(INCLUDE_DIR)/kernel-defaults.mk
  27. define KernelPackage/sched-cake/description
  28. Common Applications Kept Enhanced fq_codel/blue derived shaper
  29. endef
  30. define Build/Compile
  31. $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
  32. endef
  33. $(eval $(call KernelPackage,sched-cake))