diff options
author | Karl Vogel <karl.vogel@gmail.com> | 2017-10-13 11:10:03 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-29 16:17:05 +0100 |
commit | 76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8 (patch) | |
tree | e9ccda96723ab5f40b39af552e13e13e35f29304 /toolchain/kernel-headers | |
parent | 851644bf5bf0415b9937f8bf4f34c38ba7c59ccf (diff) | |
download | openwrt-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.gz openwrt-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.bz2 openwrt-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.zip |
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>
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 1bf5598d6f..e374e706e1 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -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 |