diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-28 23:45:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-02-28 23:45:56 +0000 |
commit | 129dd27cc4deb042d2f88c65927adc49c338756d (patch) | |
tree | 265b6617c9f2281815f2c2120a571fb98ce7c883 /nuttx/sched/Makefile | |
parent | cbade4e74a17aa881e8031b6785657d7166dd819 (diff) | |
download | px4-nuttx-129dd27cc4deb042d2f88c65927adc49c338756d.tar.gz px4-nuttx-129dd27cc4deb042d2f88c65927adc49c338756d.tar.bz2 px4-nuttx-129dd27cc4deb042d2f88c65927adc49c338756d.zip |
Still working toward clean 8051 link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@25 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/Makefile')
-rw-r--r-- | nuttx/sched/Makefile | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile index ea4eb4067..fa69c60b5 100644 --- a/nuttx/sched/Makefile +++ b/nuttx/sched/Makefile @@ -67,9 +67,11 @@ SIGNAL_SRCS = sig_initialize.c \ sig_releasependingsignal.c sig_lowest.c sig_mqnotempty.c \ sig_cleanup.c sig_received.c sig_deliver.c MQUEUE_SRCS = mq_open.c mq_close.c mq_unlink.c mq_send.c mq_receive.c \ - mq_notify.c mq_setattr.c mq_getattr.c \ - mq_initialize.c mq_descreate.c mq_findnamed.c \ - mq_msgfree.c mq_msgqfree.c + mq_setattr.c mq_getattr.c mq_initialize.c mq_descreate.c \ + mq_findnamed.c mq_msgfree.c mq_msgqfree.c +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +MQUEUE_SRCS += mq_notify.c +endif PTHREAD_SRCS = pthread_attrinit.c pthread_attrdestroy.c \ pthread_attrsetschedpolicy.c pthread_attrgetschedpolicy.c \ pthread_attrsetinheritsched.c pthread_attrgetinheritsched.c \ @@ -83,19 +85,28 @@ PTHREAD_SRCS = pthread_attrinit.c pthread_attrdestroy.c \ pthread_mutexlock.c pthread_mutextrylock.c pthread_mutexunlock.c \ pthread_condinit.c pthread_conddestroy.c \ pthread_condattrinit.c pthread_condattrdestroy.c \ - pthread_condwait.c pthread_condtimedwait.c \ - pthread_condsignal.c pthread_condbroadcast.c \ + pthread_condwait.c pthread_condsignal.c pthread_condbroadcast.c \ pthread_cancel.c pthread_setcancelstate.c \ pthread_keycreate.c pthread_setspecific.c pthread_getspecific.c pthread_keydelete.c \ pthread_initialize.c pthread_completejoin.c pthread_findjoininfo.c \ pthread_removejoininfo.c +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +PTHREAD_SRCS += pthread_condtimedwait.c +endif SEM_SRCS = sem_initialize.c sem_init.c sem_destroy.c\ sem_open.c sem_close.c sem_unlink.c \ sem_wait.c sem_trywait.c sem_post.c sem_getvalue.c \ sem_waitirq.c sem_findnamed.c IRQ_SRCS = irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c + CSRCS = $(MISC_SRCS) $(TSK_SRCS) $(SCHED_SRCS) $(WDOG_SRCS) $(TIME_SRCS) \ - $(SIGNAL_SRCS) $(MQUEUE_SRCS) $(PTHREAD_SRCS) $(SEM_SRCS) $(IRQ_SRCS) + $(PTHREAD_SRCS) $(SEM_SRCS) $(IRQ_SRCS) +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +CSRCS += $(SIGNAL_SRCS) +endif +ifneq ($(CONFIG_DISABLE_MQUEUE),y) +CSRCS += $(MQUEUE_SRCS) +endif COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) |