]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
opensbi: Do not inherit autotools bbclass
authorKhem Raj <raj.khem@gmail.com>
Thu, 20 Mar 2025 01:55:29 +0000 (18:55 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Mar 2025 17:16:33 +0000 (17:16 +0000)
This package is built using simple makefiles, therefore using
autotools bbclass is not right and moreover it is now a hard
error in core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-bsp/opensbi/opensbi_1.6.bb

index 3c16656b395e611714514f05eb72865a5f38a31b..ed1a70d01a1e5664b9be8bbd97d93cb3b6f812b3 100644 (file)
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=42dd9555eb177f35150cf9aa240b61e5"
 
 require opensbi-payloads.inc
 
-inherit autotools-brokensep deploy
+inherit deploy
 
 SRCREV = "bd613dd92113f683052acfb23d9dc8ba60029e0a"
 SRC_URI = "git://github.com/riscv/opensbi.git;branch=master;protocol=https"
@@ -26,7 +26,12 @@ EXTRA_OEMAKE:append = " ${@riscv_get_extra_oemake_fdt(d)}"
 # Required if specifying a custom payload
 do_compile[depends] += "${@riscv_get_do_compile_depends(d)}"
 
-do_install:append() {
+do_compile() {
+       oe_runmake
+}
+
+do_install() {
+       oe_runmake DESTDIR=${D} install
        # In the future these might be required as a dependency for other packages.
        # At the moment just delete them to avoid warnings
        rm -r ${D}/include