mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* kernel: bump to 4.14.169, 4.19.101 * uboot: update to latest * mediatek: bump to v4.19 * ath79: switch to wpad * Revert 'grub2: update to latest'
17 lines
457 B
Diff
17 lines
457 B
Diff
--- a/tools/env/Makefile
|
|
+++ b/tools/env/Makefile
|
|
@@ -8,6 +8,13 @@
|
|
# with "CC" here for the maximum code reuse of scripts/Makefile.host.
|
|
override HOSTCC = $(CC)
|
|
|
|
+ifneq ($(TARGET_CFLAGS),)
|
|
+HOSTCFLAGS = $(TARGET_CFLAGS)
|
|
+endif
|
|
+ifneq ($(TARGET_LDFLAGS),)
|
|
+HOSTLDFLAGS = $(TARGET_LDFLAGS)
|
|
+endif
|
|
+
|
|
# Compile for a hosted environment on the target
|
|
HOST_EXTRACFLAGS = -I$(srctree)/tools \
|
|
$(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \
|