projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config.mk: Remove unused HPATH
[oweals/u-boot.git]
/
api
/
Makefile
diff --git
a/api/Makefile
b/api/Makefile
index 94de3dc395aa3c015a1d77f8880e27c6be033261..42168920725c6ff938f25963e4dcd0c557f72b7b 100644
(file)
--- a/
api/Makefile
+++ b/
api/Makefile
@@
-24,13
+24,12
@@
include $(TOPDIR)/config.mk
LIB = $(obj)libapi.a
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))
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
-all: $(LIB)
-
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)