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>
This commit is contained in:
Khem Raj 2017-04-01 08:36:37 -07:00 committed by Joe MacDonald
parent 488214259d
commit 1543614e94

View File

@ -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 () {