diff options
Diffstat (limited to 'board/ads5121/Makefile')
-rw-r--r-- | board/ads5121/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/ads5121/Makefile b/board/ads5121/Makefile index cd8148c43e..b93bee13be 100644 --- a/board/ads5121/Makefile +++ b/board/ads5121/Makefile @@ -25,8 +25,10 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS := $(BOARD).o +COBJS-y := $(BOARD).o +COBJS-$(CONFIG_PCI) += pci.o +COBJS := $(COBJS-y) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) |