kumquat-buildroot/boot
Yann E. MORIN 3b3859cc7d boot/uboot: fix build with host-gcc 10+
Some older versions of U-Boot, or custom versions (like forks for some
boards), fail to build with host-gcc 10+, because of redefined symbols:

      HOSTLD  scripts/dtc/dtc
    /usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition
    of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
    collect2: error: ld returned 1 exit status
    make[4]: *** [scripts/Makefile.host:106: scripts/dtc/dtc] E

Since this has been fixed in recent-ish versions, we can't use an
unconditionaly patch, so we must have a conditional patch. However, a
patch may not always apply to arbitrary U-Boot versions or forks.

Upstream just dropped that line altogether:
    018921ee79

So, we use a little sed-grep combo to do the exact same change.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-12 21:38:18 +01:00
..
afboot-stm32 boot/afboot-stm32: upgrade version 2021-12-17 22:58:11 +01:00
arm-trusted-firmware boot/arm-trusted-firmware: point LICENSE_FILES to correct file 2021-09-24 21:49:37 +02:00
at91bootstrap boot/at91bootstrap: rename patches with the proper naming convention 2021-12-11 20:48:58 +01:00
at91bootstrap3 boot/at91bootstrap3: add svn repository method 2021-12-30 17:36:45 +01:00
at91dataflashboot boot/at91dataflashboot: rename patches with the proper naming convention 2021-12-11 20:48:58 +01:00
barebox core: introduce NORMALIZED_ARCH as non-kernel replacement for KERNEL_ARCH 2022-02-08 21:20:23 +01:00
beaglev-ddrinit boot/beaglev-ddrinit: update to c0839f25 to add LICENSE file 2021-07-13 21:18:19 +02:00
beaglev-secondboot boot/beaglev-secondboot: update to 2d200479 to add LICENSE file 2021-07-13 21:18:50 +02:00
binaries-marvell
boot-wrapper-aarch64
edk2 boot/edk2: add support to build 32bit edk2 when using x86_64 architecture 2021-10-15 21:34:25 +02:00
grub2 package: remove numbered subject from patches 2021-12-11 20:48:58 +01:00
gummiboot board, boot, package: remove usage of startup.nsh in EFI partition 2021-09-27 21:27:02 +02:00
lpc32xxcdl boot/lpc32xxcdl: rename patches with the proper naming convention 2021-12-11 20:48:58 +01:00
mv-ddr-marvell boot/mv-ddr-marvell: fix license file hash 2021-09-24 21:45:20 +02:00
mxs-bootlets
opensbi boot/opensbi: introduce BR2_TARGET_OPENSBI_FW_FDT_PATH 2021-07-18 21:24:37 +02:00
optee-os package/python3-pyelftools: drop host package 2022-02-11 20:07:57 +01:00
s500-bootloader
shim boot/shim: re-enable on ARM32 2021-04-06 11:46:09 +02:00
sun20i-d1-spl boot/sun20i-d1-spl: new package 2021-11-08 09:45:40 +01:00
syslinux boot/syslinux: define OBJCOPY and AS 2021-11-30 17:39:58 +01:00
uboot boot/uboot: fix build with host-gcc 10+ 2022-02-12 21:38:18 +01:00
vexpress-firmware
common.mk
Config.in boot/sun20i-d1-spl: new package 2021-11-08 09:45:40 +01:00