[PATCH] uboot-envtools: adjust compile patch to version v2021.01

Hauke Mehrtens hauke at hauke-m.de
Sun Feb 28 17:11:36 EST 2021


On 2/24/21 4:50 PM, k_ronny wrote:
> 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: k_ronny <ro.ok at me.com>
> ---
>   package/boot/uboot-envtools/patches/001-compile.patch | 4 ++--
>   1 file 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
> 

Hi,

This patch looks good, but could you please resend it with your full 
name in the From and the Signed-off-by line please.

Hauke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x93DD20630910B515.asc
Type: application/pgp-keys
Size: 9895 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210228/778f3657/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210228/778f3657/attachment.sig>


More information about the openwrt-devel mailing list