diff options
| author | Ronny Kotzschmar | 2021-02-28 22:31:35 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2021-02-28 23:34:22 +0000 |
| commit | 547a932ee97d95a966bae947a84140556d07c3ce (patch) | |
| tree | e71925f48e56aa6b7559cdea50f66d1f889871be | |
| parent | 5662f5b1142142f449a319b17c5a8c0f3f07cccb (diff) | |
| download | openwrt-547a932ee97d95a966bae947a84140556d07c3ce.tar.gz | |
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>
| -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 |