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:=2018-07-16
  14. PKG_SOURCE_VERSION:=f39ab9a402ad51d7c17d4cde18ca15b2b7022030
  15. PKG_MIRROR_HASH:=fc22fc6eb7a24f4595c2777f33758ebcf9a2a404c16d00aa37ae389cd7f9c78f
  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. $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
  32. endef
  33. $(eval $(call KernelPackage,sched-cake))