mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-20 19:03:01 +01:00
Fixed build on Ubuntu 22.04
This commit is contained in:
2
.gitmodules
vendored
2
.gitmodules
vendored
@@ -1,3 +1,3 @@
|
|||||||
[submodule "buildroot"]
|
[submodule "buildroot"]
|
||||||
path = buildroot
|
path = buildroot
|
||||||
url = https://github.com/FunKey-Project/buildroot.git
|
url = https://github.com/DrUm78/buildroot.git
|
||||||
|
|||||||
11
FunKey/board/funkey/patches/linux/0000_Makefile.patch
Normal file
11
FunKey/board/funkey/patches/linux/0000_Makefile.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/Makefile 2024-02-16 14:58:29.220126035 +0000
|
||||||
|
+++ b/Makefile 2024-02-16 14:58:46.572468923 +0000
|
||||||
|
@@ -393,7 +393,7 @@
|
||||||
|
|
||||||
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
||||||
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||||
|
- -fno-strict-aliasing -fno-common -fshort-wchar \
|
||||||
|
+ -fno-strict-aliasing -fcommon -fshort-wchar \
|
||||||
|
-Werror-implicit-function-declaration \
|
||||||
|
-Wno-format-security \
|
||||||
|
-std=gnu89
|
||||||
11
FunKey/board/funkey/patches/linux/0002_dtc-lexer.patch
Normal file
11
FunKey/board/funkey/patches/linux/0002_dtc-lexer.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:07.182655128 +0000
|
||||||
|
+++ b/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:18.870713228 +0000
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
#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() */
|
||||||
11
FunKey/board/funkey/patches/linux/0003_shipped.patch
Normal file
11
FunKey/board/funkey/patches/linux/0003_shipped.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/scripts/dtc/dtc-lexer.lex.c_shipped 2024-02-16 15:05:07.227705986 +0000
|
||||||
|
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped 2024-02-16 15:05:35.040218551 +0000
|
||||||
|
@@ -631,7 +631,7 @@
|
||||||
|
#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() */
|
||||||
@@ -122,3 +122,4 @@ BR2_PACKAGE_COMMANDER=y
|
|||||||
BR2_PACKAGE_P7ZIP=y
|
BR2_PACKAGE_P7ZIP=y
|
||||||
BR2_PACKAGE_UNRAR=y
|
BR2_PACKAGE_UNRAR=y
|
||||||
BR2_PACKAGE_FILE=y
|
BR2_PACKAGE_FILE=y
|
||||||
|
BR2_PACKAGE_HOST_PYTHON3=y
|
||||||
|
|||||||
11
Recovery/board/funkey/patches/linux/0000_Makefile.patch
Normal file
11
Recovery/board/funkey/patches/linux/0000_Makefile.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/Makefile 2024-02-16 14:58:29.220126035 +0000
|
||||||
|
+++ b/Makefile 2024-02-16 14:58:46.572468923 +0000
|
||||||
|
@@ -393,7 +393,7 @@
|
||||||
|
|
||||||
|
KBUILD_AFLAGS := -D__ASSEMBLY__
|
||||||
|
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||||
|
- -fno-strict-aliasing -fno-common -fshort-wchar \
|
||||||
|
+ -fno-strict-aliasing -fcommon -fshort-wchar \
|
||||||
|
-Werror-implicit-function-declaration \
|
||||||
|
-Wno-format-security \
|
||||||
|
-std=gnu89
|
||||||
11
Recovery/board/funkey/patches/linux/0002_dtc-lexer.patch
Normal file
11
Recovery/board/funkey/patches/linux/0002_dtc-lexer.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:07.182655128 +0000
|
||||||
|
+++ b/scripts/dtc/dtc-lexer.l 2024-02-16 09:12:18.870713228 +0000
|
||||||
|
@@ -38,7 +38,7 @@
|
||||||
|
#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() */
|
||||||
11
Recovery/board/funkey/patches/linux/0003_shipped.patch
Normal file
11
Recovery/board/funkey/patches/linux/0003_shipped.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/scripts/dtc/dtc-lexer.lex.c_shipped 2024-02-16 15:05:07.227705986 +0000
|
||||||
|
+++ b/scripts/dtc/dtc-lexer.lex.c_shipped 2024-02-16 15:05:35.040218551 +0000
|
||||||
|
@@ -631,7 +631,7 @@
|
||||||
|
#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() */
|
||||||
@@ -83,3 +83,4 @@ BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
|||||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||||
BR2_PACKAGE_HOST_MTOOLS=y
|
BR2_PACKAGE_HOST_MTOOLS=y
|
||||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||||
|
BR2_PACKAGE_HOST_PYTHON3=y
|
||||||
|
|||||||
Submodule buildroot updated: a9b038158e...c9f9ab47e1
Reference in New Issue
Block a user