summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-01 08:36:37 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2017-04-25 15:55:37 -0400
commit1543614e940c08c15914934aab8cdc243c9a3ed2 (patch)
tree6c7b76e3a53cb0a50fd23867cfa6c31c098e04f6 /meta-networking
parent488214259d17acfda308f821350630ea4ff359ae (diff)
downloadmeta-openembedded-1543614e940c08c15914934aab8cdc243c9a3ed2.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-support/ntimed/ntimed_git.bb9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta-networking/recipes-support/ntimed/ntimed_git.bb b/meta-networking/recipes-support/ntimed/ntimed_git.bb
index dac561754..527ea33b5 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"
16 16
17S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
18 18
19# use adjtimex on musl
20CFLAGS_append_libc-musl = " -Dntp_adjtime=adjtimex"
21
19EXTRA_OEMAKE = "\ 22EXTRA_OEMAKE = "\
20 'CC=${CC}' \ 23 'CC=${CC}' \
21 'CFLAGS=${CFLAGS}' \ 24 'CFLAGS=${CFLAGS}' \
@@ -23,11 +26,7 @@ EXTRA_OEMAKE = "\
23" 26"
24 27
25do_configure () { 28do_configure () {
26 sh ./configure 29 sh ${S}/configure
27}
28
29do_compile () {
30 oe_runmake
31} 30}
32 31
33do_install () { 32do_install () {