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 /package/kernel/gpio-nct5104d | |
parent | 851644bf5bf0415b9937f8bf4f34c38ba7c59ccf (diff) | |
download | mtk-20170518-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.zip mtk-20170518-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.gz mtk-20170518-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.bz2 |
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 'package/kernel/gpio-nct5104d')
-rw-r--r-- | package/kernel/gpio-nct5104d/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/gpio-nct5104d/Makefile b/package/kernel/gpio-nct5104d/Makefile index b43291e..3335238 100644 --- a/package/kernel/gpio-nct5104d/Makefile +++ b/package/kernel/gpio-nct5104d/Makefile @@ -37,8 +37,7 @@ EXTRA_CFLAGS:= \ $(patsubst CONFIG_%, -DCONFIG_%=1, $(patsubst %=y,%,$(filter %=y,$(EXTRA_KCONFIG)))) \ MAKE_OPTS:= \ - ARCH="$(LINUX_KARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ + $(KERNEL_MAKE_FLAGS) \ SUBDIRS="$(PKG_BUILD_DIR)" \ EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \ $(EXTRA_KCONFIG) |