That Makefile is an upstream one, right? So it seems an upstream bug. That said, a sed command in prepare() is required, otherwise this package doesn't build, :(
Perhaps @slact has an account on their bug tracker system, https://ticket.coreboot.org, and can file the bug on them... I once wrote to their general mailing list, and never got a reply back, :(
BTW, thanks a lot @Parker8283. Here it's the sed addition to prepare():
prepare() {
cd "coreboot-$pkgver"
patch -p0 < ../ifdtools-nowerror.patch
sed -i 's|CFLAGS ?=|CFLAGS +=|' util/intelmetool/Makefile
}
Pinned Comments
yochananmarqos commented on 2025-04-30 00:26 (UTC)
PSA:
coreboot-utils
is now a split package. Remove it if you already have it installed, then install each tool you might need individually.