From 5333dff2c1bc3f804d6279955a62a03a16a12456 Mon Sep 17 00:00:00 2001 From: Slice Date: Tue, 25 Jun 2024 22:03:34 +0300 Subject: [PATCH] adopt compilation to Sequoia Signed-off-by: Slice --- .../C/VfrCompile/Pccts/h/pccts_setjmp.h | 2 +- .../C/VfrCompile/Pccts/h/pccts_stdarg.h | 2 +- .../Source/C/VfrCompile/Pccts/h/pccts_stdio.h | 2 +- .../C/VfrCompile/Pccts/h/pccts_stdlib.h | 2 +- .../C/VfrCompile/Pccts/h/pccts_string.h | 2 +- Build_Clover_in_Sequoia.txt | 22 +++++++++++++++++++ 6 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 Build_Clover_in_Sequoia.txt diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_setjmp.h b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_setjmp.h index 9ea185ca7..44808e58c 100755 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_setjmp.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_setjmp.h @@ -1,7 +1,7 @@ #ifndef __PCCTS_SETJMP_H__ #define __PCCTS_SETJMP_H__ -#ifdef PCCTS_USE_NAMESPACE_STD +#ifdef PCCTS_USE_NAMESPACE_STDXXX #include #else #include diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdarg.h b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdarg.h index e957430c3..2275d3b45 100755 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdarg.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdarg.h @@ -1,7 +1,7 @@ #ifndef __PCCTS_STDARG_H__ #define __PCCTS_STDARG_H__ -#ifdef PCCTS_USE_NAMESPACE_STD +#ifdef PCCTS_USE_NAMESPACE_STDXXX #include #else #include diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdio.h b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdio.h index ac34d1086..a339613da 100755 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdio.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdio.h @@ -1,7 +1,7 @@ #ifndef __PCCTS_STDIO_H__ #define __PCCTS_STDIO_H__ -#ifdef PCCTS_USE_NAMESPACE_STD +#ifdef PCCTS_USE_NAMESPACE_STDXXX #include #else #include diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdlib.h b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdlib.h index f0b344e8d..abc987475 100755 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdlib.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_stdlib.h @@ -1,7 +1,7 @@ #ifndef __PCCTS_STDLIB_H__ #define __PCCTS_STDLIB_H__ -#ifdef PCCTS_USE_NAMESPACE_STD +#ifdef PCCTS_USE_NAMESPACE_STDXXX #include #else #include diff --git a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_string.h b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_string.h index 458a08a94..e05b283f8 100755 --- a/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_string.h +++ b/BaseTools/Source/C/VfrCompile/Pccts/h/pccts_string.h @@ -1,7 +1,7 @@ #ifndef __PCCTS_STRING_H__ #define __PCCTS_STRING_H__ -#ifdef PCCTS_USE_NAMESPACE_STD +#ifdef PCCTS_USE_NAMESPACE_STDXXX #include #else #include diff --git a/Build_Clover_in_Sequoia.txt b/Build_Clover_in_Sequoia.txt new file mode 100644 index 000000000..48a3a8e56 --- /dev/null +++ b/Build_Clover_in_Sequoia.txt @@ -0,0 +1,22 @@ +1. Download Clover + +cd ~ +mkdir src +cd src +git clone --recurse-submodule https://github.com/CloverHackyColor/CloverBootloader.git +cd CloverBootloader + +2. Download and install Python 5.12... +3. Set a link for python + +cd /Library/Frameworks/Python.framework/Versions/3.12/bin/ +sudo ln -s python3.12 python +cd - + +4. Install tools +pip3 install setuptools + +5. make -C BaseTools + +6. ./buildme +