diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-24 21:34:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-24 21:34:55 +0000 |
commit | cd7ab15d6faca00ad56a3cc55613a1529790aa1c (patch) | |
tree | 1b51d1401e6f912a7c2d6fafe3e29fb22ea13855 /apps/examples/ostest/Makefile | |
parent | 1b4c92672cfd43d05dbee2db143af08ec84d90af (diff) | |
download | px4-nuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.tar.gz px4-nuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.tar.bz2 px4-nuttx-cd7ab15d6faca00ad56a3cc55613a1529790aa1c.zip |
Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4421 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/ostest/Makefile')
-rw-r--r-- | apps/examples/ostest/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile index 1405a2afb..45eef5ff6 100644 --- a/apps/examples/ostest/Makefile +++ b/apps/examples/ostest/Makefile @@ -1,8 +1,8 @@ ############################################################################ # apps/examples/ostest/Makefile # -# Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt <spudmonkey@racsa.co.cr> +# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -42,6 +42,10 @@ include $(APPDIR)/Make.defs ASRCS = CSRCS = main.c dev_null.c +ifeq ($(CONFIG_ARCH_FPU),y) +CSRCS += fpu.c +endif + ifneq ($(CONFIG_DISABLE_PTHREAD),y) CSRCS += cancel.c cond.c mutex.c sem.c barrier.c ifneq ($(CONFIG_RR_INTERVAL),0) |