Commit 3e16abe0e468c568b30acb7d8583e3dbed6f177b

Authored by Kumar Gala
Committed by Wolfgang Denk
1 parent fdfa197097

post/Makefile: Only build FP post tests if enabled via CONFIG_SYS_POST_FPU

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -32,7 +32,7 @@
32 32 SPLIB-$(CONFIG_HAS_POST) = drivers/libpostdrivers.o
33 33 SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d lib_$(ARCH) ]; then echo \
34 34 "lib_$(ARCH)/libpost$(ARCH).o"; fi)
35   -SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d lib_$(ARCH)/fpu ]; then echo \
  35 +SPLIB-$(CONFIG_SYS_POST_FPU) += $(shell if [ -d lib_$(ARCH)/fpu ]; then echo \
36 36 "lib_$(ARCH)/fpu/libpost$(ARCH)fpu.o"; fi)
37 37 SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d cpu/$(CPU) ]; then echo \
38 38 "cpu/$(CPU)/libpost$(CPU).o"; fi)