mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-24 05:48:41 +00:00
Adjust compiler fixes that it builds on more modern build host (#2699)
This commit is contained in:
parent
9dcf0f347b
commit
fb3a676261
9 changed files with 258 additions and 0 deletions
26
patch/u-boot/u-boot-clearfog/0001-fixing-dtc-error.patch
Normal file
26
patch/u-boot/u-boot-clearfog/0001-fixing-dtc-error.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
From a842a521b0532213286532542c8a7c98f2f2addf Mon Sep 17 00:00:00 2001
|
||||
From: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
Date: Mon, 8 Mar 2021 09:38:23 +0000
|
||||
Subject: [PATCH] ;mmc;u-boot-spl-mmc.kwb:u-boot.emmc
|
||||
|
||||
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
|
||||
---
|
||||
scripts/dtc/dtc-lexer.lex.c_shipped | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/dtc/dtc-lexer.lex.c_shipped b/scripts/dtc/dtc-lexer.lex.c_shipped
|
||||
index 011bb96..c3b6316 100644
|
||||
--- a/scripts/dtc/dtc-lexer.lex.c_shipped
|
||||
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped
|
||||
@@ -631,7 +631,7 @@ char *yytext;
|
||||
#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