summaryrefslogtreecommitdiff
path: root/lib_blackfin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib_blackfin/Makefile')
-rw-r--r--lib_blackfin/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_blackfin/Makefile b/lib_blackfin/Makefile
index fee0fdaca..93f7d4f10 100644
--- a/lib_blackfin/Makefile
+++ b/lib_blackfin/Makefile
@@ -40,9 +40,8 @@ COBJS-y += board.o
COBJS-y += boot.o
COBJS-y += cache.o
COBJS-y += muldi3.o
-COBJS-y += post.o
+COBJS-$(CONFIG_POST) += post.o tests.o
COBJS-y += string.o
-COBJS-y += tests.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))