From: Willy <willy@willygroup.org>
To: buildroot@busybox.net
Subject: [Buildroot] Add rt squarewave example in buildroot
Date: Tue, 24 Jan 2012 10:18:17 +0000 (UTC) [thread overview]
Message-ID: <loom.20120124T111319-435@post.gmane.org> (raw)
In-Reply-To: 20120124103221.1f769dba@skate
Thomas Petazzoni <thomas.petazzoni@...> writes:
> Can you try with a test case program?
How?
> Strange, the uClibc is by default compiled with
> UCLIBC_HAS_ADVANCED_REALTIME, clock_nanosleep() should be there in
> librt.
The uClibc configuration file contains:
output/toolchain/uClibc-0.9.32/.config:UCLIBC_HAS_ADVANCED_REALTIME=y
And this file:
output/toolchain/uClibc-0.9.32/librt/clock_nanosleep.c
exists and contains:
######################
<cut>
#ifdef __ASSUME_POSIX_TIMERS
int
clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
struct timespec *rem)
{
<cut>
}
#else
# ifdef __NR_clock_nanosleep
extern int __libc_missing_posix_timers attribute_hidden;
# define SYSDEP_NANOSLEEP \
if (!__libc_missing_posix_timers) \
{ \
<cut>
}
# endif
# include <sysdeps/unix/clock_nanosleep.c>
#endif
########################
Thanks,
Willy
prev parent reply other threads:[~2012-01-24 10:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-23 14:43 [Buildroot] Add rt squarewave example in buildroot Willy
2012-01-23 21:14 ` Thomas Petazzoni
2012-01-24 8:07 ` Willy
2012-01-24 9:32 ` Thomas Petazzoni
2012-01-24 10:18 ` Willy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20120124T111319-435@post.gmane.org \
--to=willy@willygroup.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox