uboot-envtools: adjust compile patch to version v2021.01
with u-boot v2020.07 some variables have been renamed so this patch needs to be adjusted otherwise at least with macOS as build system there are build errors Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
This commit is contained in:
parent
5662f5b114
commit
547a932ee9
@ -5,10 +5,10 @@
|
|||||||
override HOSTCC = $(CC)
|
override HOSTCC = $(CC)
|
||||||
|
|
||||||
+ifneq ($(TARGET_CFLAGS),)
|
+ifneq ($(TARGET_CFLAGS),)
|
||||||
+HOSTCFLAGS = $(TARGET_CFLAGS)
|
+KBUILD_HOSTCFLAGS = $(TARGET_CFLAGS)
|
||||||
+endif
|
+endif
|
||||||
+ifneq ($(TARGET_LDFLAGS),)
|
+ifneq ($(TARGET_LDFLAGS),)
|
||||||
+HOSTLDFLAGS = $(TARGET_LDFLAGS)
|
+KBUILD_HOSTLDFLAGS = $(TARGET_LDFLAGS)
|
||||||
+endif
|
+endif
|
||||||
+
|
+
|
||||||
# Compile for a hosted environment on the target
|
# Compile for a hosted environment on the target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user