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:=2017-01-21
  14. PKG_SOURCE_VERSION:=e928a82a83401ae70163f73e14490aa54749924d
  15. PKG_MIRROR_HASH:=29c0a29e110a8fb0a513cc3ead848f497eef9fceb04dc64e22aab41165abda53
  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))