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/dtaht/sch_cake.git
  13. PKG_SOURCE_DATE:=2017-01-28
  14. PKG_SOURCE_VERSION:=9789742cfc596d48583ba4cdbc8f38d026121fa6
  15. PKG_MIRROR_HASH:=2a5afc45722c28ca8778eb50452eb305306e7898b32d7d6d73d3e77edf3cce99
  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))