aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/kmod-sched-cake/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-03-16 09:53:30 +0100
committerFelix Fietkau <nbd@nbd.name>2017-06-07 18:31:10 +0200
commit0aed054becb2143952bfb77cb64e23c83ce79dfd (patch)
tree44c15a3fd584809e0aba379b1734ff0a425613b6 /package/kernel/kmod-sched-cake/Makefile
parent00639586fd7892de41fa786bb48aaec4ed4b6e6a (diff)
downloadupstream-0aed054becb2143952bfb77cb64e23c83ce79dfd.tar.gz
upstream-0aed054becb2143952bfb77cb64e23c83ce79dfd.tar.bz2
upstream-0aed054becb2143952bfb77cb64e23c83ce79dfd.zip
build: add KERNEL_MAKE and KERNEL_MAKE_FLAGS variables and move to kernel.mk
This allows packages to use kernel make options without the forced -C $(LINUX_DIR). It also makes it more clear that it to be called from kernel module packages directly. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/kmod-sched-cake/Makefile')
-rw-r--r--package/kernel/kmod-sched-cake/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile
index b58c610b2c..c6133f93bb 100644
--- a/package/kernel/kmod-sched-cake/Makefile
+++ b/package/kernel/kmod-sched-cake/Makefile
@@ -36,7 +36,7 @@ define KernelPackage/sched-cake/description
endef
define Build/Compile
- $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules
+ $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules
endef
$(eval $(call KernelPackage,sched-cake))