adopt compilation to Sequoia

Signed-off-by: Slice <sergey.slice@gmail.com>
This commit is contained in:
Slice 2024-06-25 22:03:34 +03:00
parent b2078ebb44
commit 5333dff2c1
6 changed files with 27 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#ifndef __PCCTS_SETJMP_H__
#define __PCCTS_SETJMP_H__
#ifdef PCCTS_USE_NAMESPACE_STD
#ifdef PCCTS_USE_NAMESPACE_STDXXX
#include <csetjmp>
#else
#include <setjmp.h>

View File

@ -1,7 +1,7 @@
#ifndef __PCCTS_STDARG_H__
#define __PCCTS_STDARG_H__
#ifdef PCCTS_USE_NAMESPACE_STD
#ifdef PCCTS_USE_NAMESPACE_STDXXX
#include <cstdarg>
#else
#include <stdarg.h>

View File

@ -1,7 +1,7 @@
#ifndef __PCCTS_STDIO_H__
#define __PCCTS_STDIO_H__
#ifdef PCCTS_USE_NAMESPACE_STD
#ifdef PCCTS_USE_NAMESPACE_STDXXX
#include <cstdio>
#else
#include <stdio.h>

View File

@ -1,7 +1,7 @@
#ifndef __PCCTS_STDLIB_H__
#define __PCCTS_STDLIB_H__
#ifdef PCCTS_USE_NAMESPACE_STD
#ifdef PCCTS_USE_NAMESPACE_STDXXX
#include <cstdlib>
#else
#include <stdlib.h>

View File

@ -1,7 +1,7 @@
#ifndef __PCCTS_STRING_H__
#define __PCCTS_STRING_H__
#ifdef PCCTS_USE_NAMESPACE_STD
#ifdef PCCTS_USE_NAMESPACE_STDXXX
#include <cstring>
#else
#include <string.h>

View File

@ -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