diff options
| author | Khem Raj <raj.khem@gmail.com> | 2017-04-01 08:36:37 -0700 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-04-25 15:55:37 -0400 |
| commit | 1543614e940c08c15914934aab8cdc243c9a3ed2 (patch) | |
| tree | 6c7b76e3a53cb0a50fd23867cfa6c31c098e04f6 /meta-networking/recipes-support/ntimed | |
| parent | 488214259d17acfda308f821350630ea4ff359ae (diff) | |
| download | meta-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/recipes-support/ntimed')
| -rw-r--r-- | meta-networking/recipes-support/ntimed/ntimed_git.bb | 9 |
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 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" | |||
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 18 | 18 | ||
| 19 | # use adjtimex on musl | ||
| 20 | CFLAGS_append_libc-musl = " -Dntp_adjtime=adjtimex" | ||
| 21 | |||
| 19 | EXTRA_OEMAKE = "\ | 22 | EXTRA_OEMAKE = "\ |
| 20 | 'CC=${CC}' \ | 23 | 'CC=${CC}' \ |
| 21 | 'CFLAGS=${CFLAGS}' \ | 24 | 'CFLAGS=${CFLAGS}' \ |
| @@ -23,11 +26,7 @@ EXTRA_OEMAKE = "\ | |||
| 23 | " | 26 | " |
| 24 | 27 | ||
| 25 | do_configure () { | 28 | do_configure () { |
| 26 | sh ./configure | 29 | sh ${S}/configure |
| 27 | } | ||
| 28 | |||
| 29 | do_compile () { | ||
| 30 | oe_runmake | ||
| 31 | } | 30 | } |
| 32 | 31 | ||
| 33 | do_install () { | 32 | do_install () { |
