coreboot-utils: update to 4.12.
This commit is contained in:
parent
c690fca96e
commit
59a1cc8f67
4 changed files with 35 additions and 3 deletions
11
srcpkgs/coreboot-utils/patches/ectool-musl.patch
Normal file
11
srcpkgs/coreboot-utils/patches/ectool-musl.patch
Normal 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
|
10
srcpkgs/coreboot-utils/patches/inteltool-musl-2.patch
Normal file
10
srcpkgs/coreboot-utils/patches/inteltool-musl-2.patch
Normal 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)
|
11
srcpkgs/coreboot-utils/patches/nvramtool-musl-2.patch
Normal file
11
srcpkgs/coreboot-utils/patches/nvramtool-musl-2.patch
Normal 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)
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue