Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kmod-sched-fq_pie: add support for fq_pie scheduler
- Loading branch information
Dave Taht
committed
May 2, 2015
1 parent
3ab9dcd
commit b7e766a
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# | ||
# Copyright (C) 2015 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
include $(INCLUDE_DIR)/kernel.mk | ||
|
||
PKG_NAME:=sched-fq_pie | ||
PKG_VERSION:=2015-git | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=git://github.com/dtaht/sch_fq_pie | ||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_VERSION:=d5dfc7657c5187d0eabf97e84b5f414df8e9cc34 | ||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define KernelPackage/sched-fq_pie | ||
SUBMENU:=Other modules | ||
TITLE:=sch_fq pie | ||
URL:=https://github.com/dtaht/sch_fq_pie | ||
FILES:=$(PKG_BUILD_DIR)/sch_fq_pie.ko | ||
VERSION:=$(LINUX_VERSION)-$(LINUX_RELEASE) | ||
AUTOLOAD:=$(call AutoLoad,30,sch_fq_pie) | ||
endef | ||
|
||
include $(INCLUDE_DIR)/kernel-defaults.mk | ||
|
||
define KernelPackage/sched-fq_pie/description | ||
FQ_Pie - a combination of sch_fq + pie | ||
endef | ||
|
||
define Build/Compile | ||
$(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules | ||
endef | ||
|
||
$(eval $(call KernelPackage,sched-fq_pie)) |