grubby: Do not inherit autotools class

The package uses simple Makefile for building

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-03-20 20:33:52 -07:00
parent 60eb0214e7
commit 04243f6ee4
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -24,12 +24,21 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \
RDEPENDS:${PN} += "dracut"
inherit autotools-brokensep ptest
inherit ptest
EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
LIBS:libc-musl = "-lexecinfo -largp"
LIBS ?= ""
do_compile() {
oe_runmake
}
do_install() {
oe_runmake DESTDIR=${D} install
}
do_install_ptest() {
install -d ${D}${PTEST_PATH}
cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH}