diff options
author | Petr Štetiar <ynezz@true.cz> | 2010-10-03 02:14:34 +0000 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2010-10-04 22:03:14 +0200 |
commit | b0bcd6021f3f03a089220ac68fc9156dec894aa1 (patch) | |
tree | 1ea15bea4368893d04ec64142de3b57cfc0540e9 /recipes/ntpclient/ntpclient_2007_365.bb | |
parent | 6f9816c29e6eab5589f089d29a6b1d05275d32cf (diff) | |
download | openembedded-b0bcd6021f3f03a089220ac68fc9156dec894aa1.tar.gz |
ntpclient: fix adjtimex compile error on uclibc
ntpclient.o: In function `set_freq':
ntpclient-2007_365-r3/ntpclient-2007/ntpclient.c:166: undefined reference to `__adj timex'
ntpclient.o: In function `get_current_freq':
ntpclient-2007_365-r3/ntpclient-2007/ntpclient.c:149: undefined reference to `__adj timex'
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'recipes/ntpclient/ntpclient_2007_365.bb')
-rw-r--r-- | recipes/ntpclient/ntpclient_2007_365.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes/ntpclient/ntpclient_2007_365.bb b/recipes/ntpclient/ntpclient_2007_365.bb index 40a4e1b933..9d3824530d 100644 --- a/recipes/ntpclient/ntpclient_2007_365.bb +++ b/recipes/ntpclient/ntpclient_2007_365.bb @@ -4,14 +4,20 @@ AUTHOR = "Larry Doolittle <larry@doolittle.boa.org>" RDEPENDS_${PN} = "busybox" SECTION = "admin" LICENSE = "GPLv2" -PR = "r3" +PR = "r4" # The ntpclient package uses version numbers that include an underscore :( PV = "2007_365" # ntpclient unpacks into a directory that doesn't include version info :( S = "${WORKDIR}/${PN}-2007" SRC_URI = "http://doolittle.icarus.com/ntpclient/ntpclient_${PV}.tar.gz \ - file://init" + file://init \ + " + +UCLIBC_PATCHES = " file://fix-adjtimex-uclibc.patch \ + " +SRC_URI_append_linux-uclibc = ${UCLIBC_PATCHES} +SRC_URI_append_linux-uclibceabi = ${UCLIBC_PATCHES} INITSCRIPT_NAME = "ntpclient" INITSCRIPT_PARAMS = "defaults 65" |