aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/trelay
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/trelay
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/trelay')
-rw-r--r--package/kernel/trelay/Makefile2
1 files changed, 1 insertions, 1 deletions
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