mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
build: use KERNEL_MAKE_FLAGS for kernel file compilations
The build system already defines KERNEL_CROSS which defaults to TARGET_CROSS. Make use of this variable for kernel makefiles. Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
This commit is contained in:

committed by
Hauke Mehrtens

parent
851644bf5b
commit
76378c6b9f
@ -36,13 +36,9 @@ HOST_EXTRACFLAGS=
|
||||
LINUX_HAS_HEADERS_INSTALL:=y
|
||||
|
||||
KMAKE := $(MAKE) -C $(HOST_BUILD_DIR) \
|
||||
HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \
|
||||
ARCH=$(LINUX_KARCH) \
|
||||
$(KERNEL_MAKE_FLAGS) \
|
||||
CC="$(KERNEL_CC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
KBUILD_HAVE_NLS=no \
|
||||
CONFIG_SHELL=$(BASH)
|
||||
CFLAGS="$(TARGET_CFLAGS)"
|
||||
|
||||
define Host/Configure/all
|
||||
mkdir -p $(BUILD_DIR_TOOLCHAIN)/linux-dev
|
||||
|
Reference in New Issue
Block a user