mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 05:55:45 +00:00
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:
parent
60eb0214e7
commit
04243f6ee4
@ -24,12 +24,21 @@ SRC_URI = "git://github.com/rhboot/grubby.git;protocol=https;;branch=main \
|
|||||||
|
|
||||||
RDEPENDS:${PN} += "dracut"
|
RDEPENDS:${PN} += "dracut"
|
||||||
|
|
||||||
inherit autotools-brokensep ptest
|
inherit ptest
|
||||||
|
|
||||||
EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
|
EXTRA_OEMAKE = "-e 'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'LIBS=${LIBS}'"
|
||||||
|
|
||||||
LIBS:libc-musl = "-lexecinfo -largp"
|
LIBS:libc-musl = "-lexecinfo -largp"
|
||||||
LIBS ?= ""
|
LIBS ?= ""
|
||||||
|
|
||||||
|
do_compile() {
|
||||||
|
oe_runmake
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
oe_runmake DESTDIR=${D} install
|
||||||
|
}
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
install -d ${D}${PTEST_PATH}
|
install -d ${D}${PTEST_PATH}
|
||||||
cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH}
|
cp -r ${S}/test ${S}/test.sh ${D}${PTEST_PATH}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user