build: add KERNEL_MAKE and KERNEL_MAKE_FLAGS variables and move to kernel.mk
authorFelix Fietkau <nbd@nbd.name>
Thu, 16 Mar 2017 08:53:30 +0000 (09:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 7 Jun 2017 16:31:10 +0000 (18:31 +0200)
commit0aed054becb2143952bfb77cb64e23c83ce79dfd
tree44c15a3fd584809e0aba379b1734ff0a425613b6
parent00639586fd7892de41fa786bb48aaec4ed4b6e6a
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>
include/kernel-build.mk
include/kernel-defaults.mk
include/kernel.mk
package/kernel/kmod-sched-cake/Makefile
package/kernel/trelay/Makefile