redis: don't inherit autotools

This upstream does not in fact use autotools, so remove the inherit.

Also, clean up a oe_runmake to not require a subshell.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton 2025-03-19 17:41:51 +00:00 committed by Khem Raj
parent 5461aa6cbe
commit cdcb146104
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
SRC_URI[sha256sum] = "846bff83c26d827d49f8cc8114ea9d1e72eea1169f7de36b8135ea2cec104e7d"
inherit autotools-brokensep update-rc.d systemd useradd
inherit update-rc.d systemd useradd
FINAL_LIBS:x86:toolchain-clang = "-latomic"
FINAL_LIBS:riscv32 = "-latomic"
@ -37,7 +37,7 @@ GROUPADD_PARAM:${PN} = "--system redis"
REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
do_compile:prepend() {
(cd deps && oe_runmake hiredis lua linenoise)
oe_runmake -C deps hiredis lua linenoise
}
do_install() {

View File

@ -22,7 +22,7 @@ SRC_URI[sha256sum] = "72c081e3b8cfae7144273d26d76736f08319000af46c01515cad5d2976
RPROVIDES:${PN} = "virtual-redis"
inherit autotools-brokensep pkgconfig update-rc.d systemd useradd
inherit pkgconfig update-rc.d systemd useradd
FINAL_LIBS:x86:toolchain-clang = "-latomic"
FINAL_LIBS:riscv32 = "-latomic"
@ -42,7 +42,7 @@ PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd"
EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
do_compile:prepend() {
(cd deps && oe_runmake hiredis lua linenoise)
oe_runmake -C deps hiredis lua linenoise
}
do_install() {