uboot-zynq: fix dtc compilation on host gcc 10
authorLuis Araneda <luaraneda@gmail.com>
Sun, 2 Aug 2020 23:34:42 +0000 (19:34 -0400)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 13 Dec 2020 15:12:45 +0000 (16:12 +0100)
commit8b870418f18d86761247633e57560ffa1c2485d0
tree879a978bf398bee6e506238a77ecf4141fa635ba
parentb2d48c1dfe81911c563f0a745a2408b438db9bc4
uboot-zynq: fix dtc compilation on host gcc 10

gcc 10 defaults to -fno-common, which causes an error
when linking.

Back-port the following Linux kernel commit to fix it:
e33a814e772c (scripts/dtc: Remove redundant YYLOC global declaration)

Tested on an Arch Linux host with gcc 10.1.0

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
package/boot/uboot-zynq/patches/010-fix_dtc_compilation_on_host_gcc10.patch [new file with mode: 0644]