Message ID | 20250321033508.2408459-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-initramfs] grubby: Do not inherit autotools class | expand |
diff --git a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb index ff673e21bb..ff18b0b190 100644 --- a/meta-initramfs/recipes-devtools/grubby/grubby_git.bb +++ b/meta-initramfs/recipes-devtools/grubby/grubby_git.bb @@ -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}
The package uses simple Makefile for building Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-initramfs/recipes-devtools/grubby/grubby_git.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)