mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-09 22:49:16 +00:00
Bugfix - adjust u-boot compiler issues
This fixes Rockpi S u-boot compilation on GCC10 / Hirsute host
This commit is contained in:
parent
8277822add
commit
6ac70f6eb7
2 changed files with 93 additions and 0 deletions
26
patch/u-boot/u-boot-rockchip64/0001-fixing-dtc-error.patch
Normal file
26
patch/u-boot/u-boot-rockchip64/0001-fixing-dtc-error.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
From 97bca7b4cec321501a710cb0ce8b598a9e746a19 Mon Sep 17 00:00:00 2001
|
||||
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
Date: Mon, 8 Mar 2021 13:12:41 +0000
|
||||
Subject: [PATCH] ;spi;u-boot-spl.kwb:u-boot.flash
|
||||
|
||||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
---
|
||||
scripts/dtc/dtc-lexer.l | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
|
||||
index fd825eb..f57c9a7 100644
|
||||
--- a/scripts/dtc/dtc-lexer.l
|
||||
+++ b/scripts/dtc/dtc-lexer.l
|
||||
@@ -38,7 +38,7 @@ LINECOMMENT "//".*\n
|
||||
#include "srcpos.h"
|
||||
#include "dtc-parser.tab.h"
|
||||
|
||||
-YYLTYPE yylloc;
|
||||
+extern YYLTYPE yylloc;
|
||||
extern bool treesource_error;
|
||||
|
||||
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
|
||||
--
|
||||
Created with Armbian build tools https://github.com/armbian/build
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue