From 6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 7 Aug 2014 12:35:24 -0600 Subject: Remove CONFIG_DISABLE_CLOCK --- apps/examples/ostest/Makefile | 9 ++------- apps/examples/ostest/ostest_main.c | 6 +++--- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'apps/examples') diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index d0f347dfb..71b08a942 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -1,7 +1,7 @@ ############################################################################ # apps/examples/ostest/Makefile # -# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2012, 2014 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -69,18 +69,13 @@ 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 # 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 # CONFIG_DISABLE_CLOCK +CSRCS += mqueue.c timedmqueue.c endif # CONFIG_DISABLE_PTHREAD endif # CONFIG_DISABLE_MQUEUE diff --git a/apps/examples/ostest/ostest_main.c b/apps/examples/ostest/ostest_main.c index 8591c5f3f..a234e50e6 100644 --- a/apps/examples/ostest/ostest_main.c +++ b/apps/examples/ostest/ostest_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * apps/examples/ostest/ostest_main.c * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011-2012, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -387,7 +387,7 @@ static int user_main(int argc, char *argv[]) #endif #endif -#if !defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_DISABLE_CLOCK) +#if !defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD) /* Verify pthreads and condition variable timed waits */ printf("\nuser_main: timed wait test\n"); @@ -403,7 +403,7 @@ static int user_main(int argc, char *argv[]) check_test_memory_usage(); #endif -#if !defined(CONFIG_DISABLE_MQUEUE) && !defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_DISABLE_CLOCK) +#if !defined(CONFIG_DISABLE_MQUEUE) && !defined(CONFIG_DISABLE_PTHREAD) /* Verify pthreads and message queues */ printf("\nuser_main: timed message queue test\n"); -- cgit v1.2.3