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:=2019-01-08
  14. PKG_SOURCE_VERSION:=331ac70c8580544cd08a556579dc8807d9941d2e
  15. PKG_MIRROR_HASH:=e2174531a92d1e9c48bcb74757399255aa205cb64f9863f307e357c5e23c3449
  16. PKG_MAINTAINER:=Kevin Darbyshire-Bryant <ldir@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. $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules
  32. endef
  33. $(eval $(call KernelPackage,sched-cake))