coreboot-utils: update to 4.12.

This commit is contained in:
m3tav3rse 2020-05-20 14:10:53 +02:00 committed by Helmut Pozimski
parent c690fca96e
commit 59a1cc8f67
4 changed files with 35 additions and 3 deletions

View file

@ -0,0 +1,11 @@
--- util/ectool/Makefile 2020-05-20 15:20:52.396213112 +0200
+++ - 2020-05-20 15:20:46.512212915 +0200
@@ -15,6 +15,8 @@
LDFLAGS = -l$(shell uname -p)
endif
+LDFLAGS = -lgcc
+
all: $(PROGRAM)
$(PROGRAM): ec.o ectool.o

View file

@ -0,0 +1,10 @@
--- src/arch/x86/include/arch/mmio.h 2020-05-20 14:43:31.750138013 +0200
+++ src/arch/x86/include/arch/mmio.h 2020-05-20 14:43:13.438137399 +0200
@@ -4,6 +4,7 @@
#define __ARCH_MMIO_H__
#include <stdint.h>
+#define __always_inline inline __attribute__((always_inline))
static __always_inline uint8_t read8(
const volatile void *addr)

View file

@ -0,0 +1,11 @@
--- util/nvramtool/Makefile 2020-05-20 15:19:20.652210037 +0200
+++ - 2020-05-20 15:20:00.145211360 +0200
@@ -34,6 +34,8 @@
CFLAGS += -D__GLIBC__
endif
+LDFLAGS = -lgcc
+
all: dep $(PROGRAM)
$(PROGRAM): $(OBJS)

View file

@ -1,6 +1,6 @@
# Template file for 'coreboot-utils'
pkgname=coreboot-utils
version=4.11
version=4.12
revision=1
archs="i686* x86_64*"
wrksrc="coreboot-${version}"
@ -8,11 +8,11 @@ build_wrksrc="util"
build_style=gnu-makefile
makedepends="pciutils-devel zlib-devel"
short_desc="Coreboot firmware utilities"
maintainer="m3tav3rse <n6maa10816@tuta.io>"
maintainer="m3tav3rse <mtvrs@tuta.io>"
license="GPL-2.0-only"
homepage="https://coreboot.org"
distfiles="https://coreboot.org/releases/coreboot-${version}.tar.xz"
checksum=97fd859b4c39a25534fe33c30eb86e54a233952e08a024c55858d11598a8ad87
checksum=edcad000ee9b73183c396ea76155629b3d27c693e0f1ae83e3424c4d936e2be2
do_build() {
for util in cbfstool cbmem ectool ifdtool inteltool intelmetool \