diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-08 23:33:41 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-08 23:33:41 +0000 |
commit | 51835242fc57907004ec44d499b5278ac6cc822b (patch) | |
tree | 13c1a8443302b1e6527a50c27f5e1ba8ae1049ca /nuttx/examples/ostest/Makefile | |
parent | 173b6c45055ea605169f1b54458cbfbe40db467d (diff) | |
download | nuttx-51835242fc57907004ec44d499b5278ac6cc822b.tar.gz nuttx-51835242fc57907004ec44d499b5278ac6cc822b.tar.bz2 nuttx-51835242fc57907004ec44d499b5278ac6cc822b.zip |
Add support for priority inheritance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1581 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/ostest/Makefile')
-rw-r--r-- | nuttx/examples/ostest/Makefile | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/nuttx/examples/ostest/Makefile b/nuttx/examples/ostest/Makefile index adb875932..d04de7bfe 100644 --- a/nuttx/examples/ostest/Makefile +++ b/nuttx/examples/ostest/Makefile @@ -1,7 +1,7 @@ ############################################################################ # examples/ostest/Makefile # -# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -39,35 +39,47 @@ ASRCS = AOBJS = $(ASRCS:.S=$(OBJEXT)) CSRCS = main.c dev_null.c + ifneq ($(CONFIG_DISABLE_PTHREAD),y) CSRCS += cancel.c cond.c mutex.c sem.c barrier.c ifneq ($(CONFIG_RR_INTERVAL),0) CSRCS += roundrobin.c -endif +endif # CONFIG_RR_INTERVAL ifeq ($(CONFIG_MUTEX_TYPES),y) CSRCS += rmutex.c -endif -endif +endif # CONFIG_MUTEX_TYPES +endif # CONFIG_DISABLE_PTHREAD + ifneq ($(CONFIG_DISABLE_SIGNALS),y) CSRCS += sighand.c ifneq ($(CONFIG_DISABLE_PTHREAD),y) ifneq ($(CONFIG_DISABLE_CLOCK),y) CSRCS += timedwait.c -endif -endif -endif +endif # CONFIG_DISABLE_CLOCK +endif # CONFIG_DISABLE_PTHREAD +endif # CONFIG_DISABLE_SIGNALS + ifneq ($(CONFIG_DISABLE_MQUEUE),y) ifneq ($(CONFIG_DISABLE_PTHREAD),y) CSRCS += mqueue.c ifneq ($(CONFIG_DISABLE_CLOCK),y) CSRCS += timedmqueue.c -endif -endif -endif +endif # CONFIG_DISABLE_CLOCK +endif # CONFIG_DISABLE_PTHREAD +endif # CONFIG_DISABLE_MQUEUE + ifneq ($(CONFIG_DISABLE_POSIX_TIMERS),y) CSRCS += posixtimer.c endif +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +ifneq ($(CONFIG_DISABLE_PTHREAD),y) +ifeq ($(CONFIG_PRIORITY_INHERITANCE),y) +CSRCS += prioinherit.c +endif # CONFIG_PRIORITY_INHERITANCE +endif # CONFIG_DISABLE_PTHREAD +endif # CONFIG_DISABLE_SIGNALS + COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) |