aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/hwmon-gsc
diff options
context:
space:
mode:
authorKarl Vogel <karl.vogel@gmail.com>2017-10-13 11:10:03 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2017-10-29 16:17:05 +0100
commit76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8 (patch)
treee9ccda96723ab5f40b39af552e13e13e35f29304 /package/kernel/hwmon-gsc
parent851644bf5bf0415b9937f8bf4f34c38ba7c59ccf (diff)
downloadupstream-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.gz
upstream-76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8.tar.bz2
upstream-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 'package/kernel/hwmon-gsc')
-rw-r--r--package/kernel/hwmon-gsc/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/hwmon-gsc/Makefile b/package/kernel/hwmon-gsc/Makefile
index 1892e027ca..3888a2f17e 100644
--- a/package/kernel/hwmon-gsc/Makefile
+++ b/package/kernel/hwmon-gsc/Makefile
@@ -20,8 +20,7 @@ endef
define Build/Compile
$(MAKE) -C "$(LINUX_DIR)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- ARCH="$(LINUX_KARCH)" \
+ $(KERNEL_MAKE_FLAGS) \
SUBDIRS="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="$(BUILDFLAGS)" \
modules