summaryrefslogtreecommitdiff
path: root/lib_blackfin/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-18 05:33:51 -0400
committerMike Frysinger <vapier@gentoo.org>2009-02-02 12:24:30 -0500
commit7a1e87b1062e6eac0704c6fc2f7c661caf8814cd (patch)
treed665a71d119ed4dfacf00e308975185cd6947203 /lib_blackfin/Makefile
parent6d7d4803c74bb86e1b401b1199e63381a62b9382 (diff)
downloadu-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.zip
u-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.tar.gz
u-boot-imx-7a1e87b1062e6eac0704c6fc2f7c661caf8814cd.tar.bz2
Blackfin: only build post code when CONFIG_POST
Save some time by using CONFIG_POST in the Makefile rather than C files. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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 fee0fda..93f7d4f 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))