build: use KERNEL_MAKE_FLAGS for kernel file compilations
authorKarl Vogel <karl.vogel@gmail.com>
Fri, 13 Oct 2017 09:10:03 +0000 (11:10 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 29 Oct 2017 15:17:05 +0000 (16:17 +0100)
commit76378c6b9fe6aa7fcdbbc7c050ae6392b71a72b8
treee9ccda96723ab5f40b39af552e13e13e35f29304
parent851644bf5bf0415b9937f8bf4f34c38ba7c59ccf
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>
20 files changed:
package/kernel/acx-mac80211/Makefile
package/kernel/ar7-atm/Makefile
package/kernel/ath10k-ct/Makefile
package/kernel/avila-wdt/Makefile
package/kernel/broadcom-wl/Makefile
package/kernel/button-hotplug/Makefile
package/kernel/gpio-button-hotplug/Makefile
package/kernel/gpio-nct5104d/Makefile
package/kernel/hwmon-gsc/Makefile
package/kernel/i2c-gpio-custom/Makefile
package/kernel/leds-apu2/Makefile
package/kernel/mt76/Makefile
package/kernel/mwlwifi/Makefile
package/kernel/rotary-gpio-custom/Makefile
package/kernel/rtc-rv5c386a/Makefile
package/kernel/spi-gpio-custom/Makefile
package/kernel/w1-gpio-custom/Makefile
package/kernel/wrt55agv2-spidevs/Makefile
package/network/utils/xtables-addons/Makefile
toolchain/kernel-headers/Makefile