diff options
-rw-r--r-- | config.i440fx.tianocore | 18 | ||||
-rw-r--r-- | config.q35.tianocore | 18 | ||||
-rw-r--r-- | coreboot.git.spec | 11 |
3 files changed, 41 insertions, 6 deletions
diff --git a/config.i440fx.tianocore b/config.i440fx.tianocore new file mode 100644 index 0000000..a8ca83c --- /dev/null +++ b/config.i440fx.tianocore @@ -0,0 +1,18 @@ +CONFIG_EXPERT=y +CONFIG_ANY_TOOLCHAIN=y +CONFIG_VENDOR_EMULATION=y +CONFIG_BOARD_EMULATION_QEMU_X86_I440FX=y +CONFIG_COREBOOT_ROMSIZE_KB_4096=y +CONFIG_PCI_ROM_RUN=n +CONFIG_VGA_ROM_RUN=n +CONFIG_ON_DEVICE_ROM_RUN=n + +CONFIG_CONSOLE_QEMU_DEBUGCON=n +CONFIG_CONSOLE_CBMEM=y +CONFIG_CONSOLE_SERIAL=y + +CONFIG_PAYLOAD_ELF=y +CONFIG_PAYLOAD_FILE="/usr/share/edk2.git/coreboot-x64/UEFIPAYLOAD.fd" + +CONFIG_VGA_BIOS=n +CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y diff --git a/config.q35.tianocore b/config.q35.tianocore new file mode 100644 index 0000000..38dc52a --- /dev/null +++ b/config.q35.tianocore @@ -0,0 +1,18 @@ +CONFIG_EXPERT=y +CONFIG_ANY_TOOLCHAIN=y +CONFIG_VENDOR_EMULATION=y +CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y +CONFIG_COREBOOT_ROMSIZE_KB_4096=y +CONFIG_PCI_ROM_RUN=n +CONFIG_VGA_ROM_RUN=n +CONFIG_ON_DEVICE_ROM_RUN=n + +CONFIG_CONSOLE_QEMU_DEBUGCON=n +CONFIG_CONSOLE_CBMEM=y +CONFIG_CONSOLE_SERIAL=y + +CONFIG_PAYLOAD_ELF=y +CONFIG_PAYLOAD_FILE="/usr/share/edk2.git/coreboot-x64/UEFIPAYLOAD.fd" + +CONFIG_VGA_BIOS=n +CONFIG_FRAMEBUFFER_KEEP_VESA_MODE=y diff --git a/coreboot.git.spec b/coreboot.git.spec index ec4da9c..90cdc6f 100644 --- a/coreboot.git.spec +++ b/coreboot.git.spec @@ -11,13 +11,15 @@ Source0: coreboot.git-g0cc33da.tar.xz Source10: config.i440fx.seabios Source11: config.i440fx.seabios.corevga +Source12: config.i440fx.tianocore Source20: config.q35.seabios +Source22: config.q35.tianocore BuildRequires: iasl BuildRequires: python BuildRequires: pciutils-devel BuildRequires: seabios.git-coreboot -#BuildRequires: edk2.git-coreboot +BuildRequires: edk2.git-coreboot-x64 Requires: coreboot.git-tools %description @@ -35,11 +37,6 @@ coreboot tools %setup -q -n %{name} %build -if test -f /opt/rh/devtoolset-2/enable; then - source /opt/rh/devtoolset-2/enable -elif test -f /opt/rh/devtoolset-1.1/enable; then - source /opt/rh/devtoolset-1.1/enable -fi function do_build() { local cfg="$1" local name="$2" @@ -55,7 +52,9 @@ mkdir rpm.bin do_build %{SOURCE10} coreboot-i440fx-seabios do_build %{SOURCE11} coreboot-i440fx-seabios-corevga +do_build %{SOURCE12} coreboot-i440fx-tianocore do_build %{SOURCE20} coreboot-q35-seabios +do_build %{SOURCE22} coreboot-q35-tianocore (cd util/msrtool; ./configure) for util in cbmem inteltool msrtool nvramtool; do |