diff options
Diffstat (limited to 'api/Makefile')
| -rw-r--r-- | api/Makefile | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/api/Makefile b/api/Makefile index 94de3dc39..421689207 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) |