watchdog: Disable nfs on musl targets

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

(From OE-Core rev: 958af8fdc4ebec44a21cbdb6ca76351da7c6fdc0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2016-03-17 05:18:19 +00:00 committed by Richard Purdie
parent f00cca81df
commit bb4e6e08e5
1 changed files with 1 additions and 0 deletions

View File

@ -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 ."