From 04e0a447a9ff309e8017ef760942d036198c09cd Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Sat, 17 Apr 2021 13:35:46 +0300 Subject: [PATCH] u_boot_tools: fix gcc2 build --- .../patches/u_boot_tools-2012.10.patchset | 27 +++++++++++++++++-- .../u_boot_tools/u_boot_tools-2012.10.recipe | 2 +- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/dev-embedded/u_boot_tools/patches/u_boot_tools-2012.10.patchset b/dev-embedded/u_boot_tools/patches/u_boot_tools-2012.10.patchset index a6a145645..768250d01 100644 --- a/dev-embedded/u_boot_tools/patches/u_boot_tools-2012.10.patchset +++ b/dev-embedded/u_boot_tools/patches/u_boot_tools-2012.10.patchset @@ -1,4 +1,4 @@ -From 07cf4d7799b3c89ccc39b6ede13d661617738b5d Mon Sep 17 00:00:00 2001 +From 91c785dfa81a719c3c1cb065df21befe72272276 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 21 Sep 2014 10:40:38 +0200 Subject: Avoid include name conflict with Haiku. @@ -188,5 +188,28 @@ index d6b4017..8387b3d 100644 * Supported commands for configuration file */ -- -1.8.3.4 +2.30.2 + + +From 869c268da0e8fb20a0f8b2630a2d7591828c1bb2 Mon Sep 17 00:00:00 2001 +From: Sergei Reznikov +Date: Sat, 17 Apr 2021 13:34:38 +0300 +Subject: Fix gcc2 build + + +diff --git a/Makefile b/Makefile +index 09456e0..de4e315 100644 +--- a/Makefile ++++ b/Makefile +@@ -621,7 +621,7 @@ $(obj)include/autoconf.mk.dep: $(obj)include/config.h include/common.h + set -e ; \ + : Generate the dependancies ; \ + $(CC) -x c -DDO_DEPS_ONLY -M $(CFLAGS) $(CPPFLAGS) \ +- -MQ $(obj)include/autoconf.mk include/common.h > $@ ++ $(obj)include/autoconf.mk include/common.h > $@ + + $(obj)include/autoconf.mk: $(obj)include/config.h + @$(XECHO) Generating $@ ; \ +-- +2.30.2 diff --git a/dev-embedded/u_boot_tools/u_boot_tools-2012.10.recipe b/dev-embedded/u_boot_tools/u_boot_tools-2012.10.recipe index 015802f6c..0f2c5c9c2 100644 --- a/dev-embedded/u_boot_tools/u_boot_tools-2012.10.recipe +++ b/dev-embedded/u_boot_tools/u_boot_tools-2012.10.recipe @@ -4,7 +4,7 @@ of U-Boot images in various formats." HOMEPAGE="https://www.denx.de/wiki/U-Boot/Documentation/" COPYRIGHT="2003 - 2012 U-Boot" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="http://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2" CHECKSUM_SHA256="dddec75070b5faa5df463085e3e1d27c6d058ec3481c666917baa961956d4d17" SOURCE_DIR="u-boot-$portVersion"