diff options
author | Ronny Kotzschmar <ro.ok@me.com> | 2021-02-28 23:31:35 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-03-01 21:50:08 +0100 |
commit | e4d061cd1a475a9b6059bb7a01485e3dfe139280 (patch) | |
tree | 974bcd173b6f1e5583b385645649c696e77141a9 /package/boot | |
parent | e9e2310c6a5ea1c82208fc5ff770377d33fbd1f7 (diff) | |
download | upstream-e4d061cd1a475a9b6059bb7a01485e3dfe139280.tar.gz upstream-e4d061cd1a475a9b6059bb7a01485e3dfe139280.tar.bz2 upstream-e4d061cd1a475a9b6059bb7a01485e3dfe139280.zip |
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>
(cherry picked from commit 547a932ee97d95a966bae947a84140556d07c3ce)
Diffstat (limited to 'package/boot')
-rw-r--r-- | package/boot/uboot-envtools/patches/001-compile.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/boot/uboot-envtools/patches/001-compile.patch b/package/boot/uboot-envtools/patches/001-compile.patch index 5413aa4a41..9b1b6b5d35 100644 --- a/package/boot/uboot-envtools/patches/001-compile.patch +++ b/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 |