summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-02-12 00:51:05 +0100
committerWolfgang Denk <wd@denx.de>2008-02-12 00:51:05 +0100
commitac2731f185ee4b7f56998c8f26d181f66fad84f8 (patch)
treee8dd06aa713b9caf8dc3882aaf72d47c48fb9f24 /api
parentc62776be8dca4097ca03d4f9415f08d4887b45d0 (diff)
parent63f732d3d3880feb531f48af247c025bf01462b0 (diff)
downloadu-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.zip
u-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.tar.gz
u-boot-imx-ac2731f185ee4b7f56998c8f26d181f66fad84f8.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'api')
-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)