summaryrefslogtreecommitdiff
path: root/post/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2012-01-12 09:30:41 +0000
committerWolfgang Denk <wd@denx.de>2012-01-13 20:42:44 +0100
commit3e16abe0e468c568b30acb7d8583e3dbed6f177b (patch)
treec2ea141c622c0df433d238c81ffe390d47176f9a /post/Makefile
parentfdfa19709739df3344f72d1290a943878d121ae1 (diff)
downloadu-boot-imx-3e16abe0e468c568b30acb7d8583e3dbed6f177b.zip
u-boot-imx-3e16abe0e468c568b30acb7d8583e3dbed6f177b.tar.gz
u-boot-imx-3e16abe0e468c568b30acb7d8583e3dbed6f177b.tar.bz2
post/Makefile: Only build FP post tests if enabled via CONFIG_SYS_POST_FPU
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'post/Makefile')
-rw-r--r--post/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/Makefile b/post/Makefile
index 200e2f1..55b7d21 100644
--- a/post/Makefile
+++ b/post/Makefile
@@ -32,7 +32,7 @@ COBJS-$(CONFIG_POST_STD_LIST) += tests.o
SPLIB-$(CONFIG_HAS_POST) = drivers/libpostdrivers.o
SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d lib_$(ARCH) ]; then echo \
"lib_$(ARCH)/libpost$(ARCH).o"; fi)
-SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d lib_$(ARCH)/fpu ]; then echo \
+SPLIB-$(CONFIG_SYS_POST_FPU) += $(shell if [ -d lib_$(ARCH)/fpu ]; then echo \
"lib_$(ARCH)/fpu/libpost$(ARCH)fpu.o"; fi)
SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d cpu/$(CPU) ]; then echo \
"cpu/$(CPU)/libpost$(CPU).o"; fi)