Browse Source

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 <[email protected]>
Ronny Kotzschmar 5 years ago
parent
commit
547a932ee9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/boot/uboot-envtools/patches/001-compile.patch

+ 2 - 2
package/boot/uboot-envtools/patches/001-compile.patch

@@ -5,10 +5,10 @@
  override HOSTCC = $(CC)
  
 +ifneq ($(TARGET_CFLAGS),)
-+HOSTCFLAGS = $(TARGET_CFLAGS)
++KBUILD_HOSTCFLAGS = $(TARGET_CFLAGS)
 +endif
 +ifneq ($(TARGET_LDFLAGS),)
-+HOSTLDFLAGS = $(TARGET_LDFLAGS)
++KBUILD_HOSTLDFLAGS = $(TARGET_LDFLAGS)
 +endif
 +
  # Compile for a hosted environment on the target