Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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-12-22
  14. PKG_SOURCE_VERSION:=5bf0b6596721e18269ee4bae6e3549c75cba923a
  15. PKG_MIRROR_HASH:=95c0f886a3ad8ccfd7b35fa19af8b5ecbf0b2f74caea73fbabd6574f1c3be2db
  16. include $(INCLUDE_DIR)/package.mk
  17. define KernelPackage/sched-cake
  18. SUBMENU:=Network Support
  19. TITLE:=Cake fq_codel/blue derived shaper
  20. URL:=https://github.com/dtaht/sch_cake
  21. FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
  22. AUTOLOAD:=$(call AutoLoad,75,sch_cake)
  23. DEPENDS:=+kmod-ipt-conntrack @!LINUX_3_18
  24. endef
  25. include $(INCLUDE_DIR)/kernel-defaults.mk
  26. define KernelPackage/sched-cake/description
  27. Common Applications Kept Enhanced fq_codel/blue derived shaper
  28. endef
  29. define Build/Compile
  30. $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
  31. endef
  32. $(eval $(call KernelPackage,sched-cake))