From 0aed054becb2143952bfb77cb64e23c83ce79dfd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 16 Mar 2017 09:53:30 +0100 Subject: 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 --- package/kernel/trelay/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/trelay') 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 -- cgit v1.2.3