summaryrefslogtreecommitdiff
path: root/api/Makefile
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-02-13 18:36:27 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-02-13 18:36:27 -0600
commitd1bcf9e53b41dfa4be6943b739ee82627a0a6d31 (patch)
tree981e6e8d1b9f40e566d97340fcd0c20740cabe78 /api/Makefile
parented2cf548cac80cd3cf8154dcfe7b2685bef45938 (diff)
parent10bbb38a402a2faf18858c451bcdc63d45888e6e (diff)
downloadu-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.zip
u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.gz
u-boot-imx-d1bcf9e53b41dfa4be6943b739ee82627a0a6d31.tar.bz2
Merge branch 'denx'
Diffstat (limited to 'api/Makefile')
-rw-r--r--api/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/api/Makefile b/api/Makefile
index 94de3dc..4216892 100644
--- a/api/Makefile
+++ b/api/Makefile
@@ -24,13 +24,12 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libapi.a
-COBJS = api.o api_net.o api_storage.o api_platform-$(ARCH).o
+COBJS-$(CONFIG_API) += api.o api_net.o api_storage.o api_platform-$(ARCH).o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
-all: $(LIB)
-
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)