aboutsummaryrefslogtreecommitdiff
path: root/apps/examples/ostest/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-02-24 21:34:55 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-02-24 21:34:55 +0000
commitbdd5e8adcb807dc15486862721778f65e78982a8 (patch)
tree1b51d1401e6f912a7c2d6fafe3e29fb22ea13855 /apps/examples/ostest/Makefile
parent4ffc124e0a308664bdd11e7d5207b48d3d3c731b (diff)
downloadpx4-firmware-bdd5e8adcb807dc15486862721778f65e78982a8.tar.gz
px4-firmware-bdd5e8adcb807dc15486862721778f65e78982a8.tar.bz2
px4-firmware-bdd5e8adcb807dc15486862721778f65e78982a8.zip
Add a test to verify that FPU registers are properly saved and restored on context switches.
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4421 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps/examples/ostest/Makefile')
-rw-r--r--apps/examples/ostest/Makefile8
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)