Commit 6751b05f855bbe56005d5b88d4eb58bcd52170d2

Authored by Wolfgang Denk
1 parent e37ae40e9d

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

This reverts commit 3e16abe0e468c568b30acb7d8583e3dbed6f177b.

The logic of this patch is broken - testing for CONFIG_SYS_POST_FPU in
the Makefile cannot work, as this is only a bit that may (or may not)
be set in the CONFIG_POST variable.

The patch cases build errors on a number of boards, so we revert it.

Signed-off-by: Wolfgang Denk <wd@denx.de>

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_SYS_POST_FPU) += $(shell if [ -d lib_$(ARCH)/fpu ]; then echo \
  35 +SPLIB-$(CONFIG_HAS_POST) += $(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)