diff options
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq/0001-Remove-redundant-YYLOC-global-declaration.patch | 29 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-qoriq/0001-Remove-redundant-YYLOC-global-declaration.patch b/recipes-bsp/u-boot/u-boot-qoriq/0001-Remove-redundant-YYLOC-global-declaration.patch new file mode 100644 index 000000000..2609760ce --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-qoriq/0001-Remove-redundant-YYLOC-global-declaration.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 018921ee79d3f30893614b3b2b63b588d8544f73 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peter Robinson <pbrobinson@gmail.com> | ||
| 3 | Date: Thu, 30 Jan 2020 09:37:15 +0000 | ||
| 4 | Subject: [PATCH] Remove redundant YYLOC global declaration | ||
| 5 | |||
| 6 | Same as the upstream fix for building dtc with gcc 10. | ||
| 7 | |||
| 8 | Upstream-Status: Backport | ||
| 9 | |||
| 10 | Signed-off-by: Peter Robinson <pbrobinson@gmail.com> | ||
| 11 | --- | ||
| 12 | scripts/dtc/dtc-lexer.l | 1 - | ||
| 13 | 1 file changed, 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l | ||
| 16 | index fd825ebba69c..24af54997758 100644 | ||
| 17 | --- a/scripts/dtc/dtc-lexer.l | ||
| 18 | +++ b/scripts/dtc/dtc-lexer.l | ||
| 19 | @@ -38,7 +38,6 @@ LINECOMMENT "//".*\n | ||
| 20 | #include "srcpos.h" | ||
| 21 | #include "dtc-parser.tab.h" | ||
| 22 | |||
| 23 | -YYLTYPE yylloc; | ||
| 24 | extern bool treesource_error; | ||
| 25 | |||
| 26 | /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ | ||
| 27 | -- | ||
| 28 | 2.26.2 | ||
| 29 | |||
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb b/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb index 2fddabb88..571fadb75 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2019.10.bb | |||
| @@ -22,6 +22,7 @@ SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/u-boot;no | |||
| 22 | file://0001-binman-Convert-a-few-tests-to-Python-3.patch \ | 22 | file://0001-binman-Convert-a-few-tests-to-Python-3.patch \ |
| 23 | file://0001-binman-Move-to-use-Python-3.patch \ | 23 | file://0001-binman-Move-to-use-Python-3.patch \ |
| 24 | file://0001-buildman-Convert-to-Python-3.patch \ | 24 | file://0001-buildman-Convert-to-Python-3.patch \ |
| 25 | file://0001-Remove-redundant-YYLOC-global-declaration.patch \ | ||
| 25 | " | 26 | " |
| 26 | SRCREV= "1e55b2f9e7f56b76569089b9e950f49c1579580e" | 27 | SRCREV= "1e55b2f9e7f56b76569089b9e950f49c1579580e" |
| 27 | 28 | ||
