[OE-core] [PATCH 3/6] watchdog: Disable nfs on musl targets

Khem Raj raj.khem at gmail.com
Thu Mar 17 05:18:19 UTC 2016


Fixes build issue on musl where it needs to link to sunrpc
when enabling nfs

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-extended/watchdog/watchdog_5.14.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/watchdog/watchdog_5.14.bb b/meta/recipes-extended/watchdog/watchdog_5.14.bb
index fc717bc..7330238 100644
--- a/meta/recipes-extended/watchdog/watchdog_5.14.bb
+++ b/meta/recipes-extended/watchdog/watchdog_5.14.bb
@@ -28,6 +28,7 @@ inherit update-rc.d
 DEPENDS_append_libc-musl = " libtirpc "
 CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc "
 LDFLAGS_append_libc-musl = " -ltirpc "
+EXTRA_OECONF_append_libc-musl = " --disable-nfs "
 
 INITSCRIPT_NAME = "watchdog.sh"
 INITSCRIPT_PARAMS = "start 15 1 2 3 4 5 . stop 85 0 6 ."
-- 
1.9.1




More information about the Openembedded-core mailing list