From 1543614e940c08c15914934aab8cdc243c9a3ed2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 1 Apr 2017 08:36:37 -0700 Subject: ntimed: Use adjtimex on musl Drop do_compile, default is same Do not assume that configure is running in S Signed-off-by: Khem Raj Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/ntimed/ntimed_git.bb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'meta-networking/recipes-support/ntimed') diff --git a/meta-networking/recipes-support/ntimed/ntimed_git.bb b/meta-networking/recipes-support/ntimed/ntimed_git.bb index dac5617545..527ea33b55 100644 --- a/meta-networking/recipes-support/ntimed/ntimed_git.bb +++ b/meta-networking/recipes-support/ntimed/ntimed_git.bb @@ -16,6 +16,9 @@ SRCREV = "db0abbb4c80f2ecef6bc5d9639bca5bea28532a2" S = "${WORKDIR}/git" +# use adjtimex on musl +CFLAGS_append_libc-musl = " -Dntp_adjtime=adjtimex" + EXTRA_OEMAKE = "\ 'CC=${CC}' \ 'CFLAGS=${CFLAGS}' \ @@ -23,11 +26,7 @@ EXTRA_OEMAKE = "\ " do_configure () { - sh ./configure -} - -do_compile () { - oe_runmake + sh ${S}/configure } do_install () { -- cgit 1.2.3-korg