Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_SOURCE_VERSION:=4f62bd17fa34036cb3c8fd4800a709b2734c3de3
  11. PKG_VERSION:=2016-10-02-$(PKG_SOURCE_VERSION)
  12. PKG_RELEASE:=1
  13. PKG_SOURCE_PROTO:=git
  14. PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  16. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_MIRROR_MD5SUM:=d6fd82607862c16ba5f1007ecfb251eba9e2cc82c55bb3f4aee2fbebf9fa6d2a
  18. PKG_MAINTAINER:=Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
  19. include $(INCLUDE_DIR)/package.mk
  20. define KernelPackage/sched-cake
  21. SUBMENU:=Network Support
  22. TITLE:=Cake fq_codel/blue derived shaper
  23. URL:=https://github.com/dtaht/sch_cake
  24. FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
  25. AUTOLOAD:=$(call AutoLoad,75,sch_cake)
  26. DEPENDS:=+kmod-ipt-conntrack
  27. endef
  28. include $(INCLUDE_DIR)/kernel-defaults.mk
  29. define KernelPackage/sched-cake/description
  30. Common Applications Kept Enhanced fq_codel/blue derived shaper
  31. endef
  32. define Build/Compile
  33. $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
  34. endef
  35. $(eval $(call KernelPackage,sched-cake))