Skip to content

Commit ccaf91a

Browse files
committed
coreboot kgpe-d16: WiP attempt to fix ISAL url with patch and coreboot failing crossgcc build with EXTRA_PARAMS overriden in
1 parent c08b183 commit ccaf91a

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

modules/coreboot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ $(eval $(call coreboot_module,purism,))
8989
#Doesn't share any other build target (~4.16+)
9090
coreboot-dasharo-kgpe-d16_repo := https://github.com/Dasharo/coreboot
9191
coreboot-dasharo-kgpe-d16_commit_hash := 6edf2d06df3d5c28f1ddfb1705e076a0694df5a5
92+
ifeq "$(CONFIG_COREBOOT_VERSION)" "dasharo-kgpe-d16"
93+
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-error=packed-not-aligned -Wno-error=address-of-packed-member -Wno-error=null-dereference
94+
endif
9295
$(eval $(call coreboot_module,dasharo-kgpe-d16,))
9396

9497
# Check that the board configured the coreboot version correctly
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- ./util/crossgcc/buildgcc.orig 2023-08-18 09:33:50.028000000 -0400
2+
+++ ./util/crossgcc/buildgcc 2023-08-18 10:10:27.603000000 -0400
3+
@@ -57,7 +57,8 @@
4+
GCC_ARCHIVE="https://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.xz"
5+
BINUTILS_ARCHIVE="https://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.xz"
6+
GDB_ARCHIVE="https://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
7+
-IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix2-${IASL_VERSION}.tar.gz"
8+
+#IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix2-${IASL_VERSION}.tar.gz"
9+
+IASL_ARCHIVE="https://www.mirrorservice.org/sites/distfiles.macports.org/acpica/acpica-unix-${IASL_VERSION}.tar.gz"
10+
PYTHON_ARCHIVE="https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz"
11+
EXPAT_ARCHIVE="https://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.bz2"
12+
# CLANG toolchain archive locations

0 commit comments

Comments
 (0)