diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-16 09:53:30 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-06-07 18:31:10 +0200 |
commit | 0aed054becb2143952bfb77cb64e23c83ce79dfd (patch) | |
tree | 44c15a3fd584809e0aba379b1734ff0a425613b6 /package/kernel | |
parent | 00639586fd7892de41fa786bb48aaec4ed4b6e6a (diff) | |
download | upstream-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')
-rw-r--r-- | package/kernel/kmod-sched-cake/Makefile | 2 | ||||
-rw-r--r-- | package/kernel/trelay/Makefile | 2 |
2 files changed, 2 insertions, 2 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)) diff --git a/package/kernel/trelay/Makefile b/package/kernel/trelay/Makefile index f95115a7d9..525a028c35 100644 --- a/package/kernel/trelay/Makefile +++ b/package/kernel/trelay/Makefile @@ -32,7 +32,7 @@ endef include $(INCLUDE_DIR)/kernel-defaults.mk define Build/Compile - $(MAKE) $(KERNEL_MAKEOPTS) SUBDIRS="$(PKG_BUILD_DIR)" modules + $(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules endef define KernelPackage/trelay/conffiles |