diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-07 00:03:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-06-07 00:03:36 +0000 |
commit | 9ed4928e582934a0d1b5e662f161bcd95ba1bc5e (patch) | |
tree | 625d2d7fb15bdafb03b2419e55b0a259bea79a0c /nuttx | |
parent | fd0d75192cf4b19295da82270eaa35f5412d4413 (diff) | |
download | px4-nuttx-9ed4928e582934a0d1b5e662f161bcd95ba1bc5e.tar.gz px4-nuttx-9ed4928e582934a0d1b5e662f161bcd95ba1bc5e.tar.bz2 px4-nuttx-9ed4928e582934a0d1b5e662f161bcd95ba1bc5e.zip |
Don't build sleep() or usleep() if signals are disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@267 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/sched/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile index 50992734a..c007feaf4 100644 --- a/nuttx/sched/Makefile +++ b/nuttx/sched/Makefile @@ -57,7 +57,10 @@ SCHED_SRCS = sched_setparam.c sched_getparam.c \ sched_lock.c sched_unlock.c sched_lockcount.c WDOG_SRCS = wd_initialize.c wd_create.c wd_start.c wd_cancel.c wd_delete.c \ wd_gettime.c -TIME_SRCS = sched_processtimer.c sleep.c usleep.c +TIME_SRCS = sched_processtimer.c +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +TIME_SRCS += sleep.c usleep.c +endif CLOCK_SRCS = clock_initialize.c mktime.c gmtime_r.c clock_settime.c clock_gettime.c \ clock_getres.c clock_time2ticks.c clock_abstime2ticks.c clock_ticks2time.c SIGNAL_SRCS = sig_initialize.c \ |