Skip to content

Commit bac417c

Browse files
committed
recipes-bsp: coreboot-utils: add amdtool recipe
recipes-bsp: packagegroup-coreboot-utils: add amdtool .codespellrc: exclude coreboot-amdtool.patch so pre-commit doesn't try to fix `.patch` file Signed-off-by: Kamil Aronowski <[email protected]>
1 parent 9f3d62d commit bac417c

File tree

4 files changed

+3146
-0
lines changed

4 files changed

+3146
-0
lines changed

.codespellrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[codespell]
22
exclude-file = .codespellx
33
ignore-words-list = FPT,FTP,fpt,ftp,crate
4+
skip = recipes-bsp/coreboot-utils/files/coreboot-amdtool.patch
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
require coreboot-utils.inc
2+
3+
SUMMARY = "\
4+
A utility similar to inteltool, which dumps useful information for \
5+
porting a board to coreboot.\
6+
"
7+
8+
LICENSE = "GPL-2.0-or-later"
9+
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c"
10+
11+
DEPENDS += "pciutils zlib"
12+
13+
EXTRA_OEMAKE = ' \
14+
DESTDIR="${D}" \
15+
PREFIX="${prefix}" \
16+
'
17+
18+
SRC_URI += " \
19+
git://github.com:coreboot/coreboot.git;branch=main;protocol=https \
20+
file://coreboot-amdtool.patch \
21+
"
22+
23+
SRCREV = "e59c5abd13e6be052281a77c076037bc85de7084"
24+
25+
do_compile () {
26+
oe_runmake -C util/amdtool
27+
}
28+
29+
do_install () {
30+
oe_runmake -C util/amdtool install
31+
}

0 commit comments

Comments
 (0)