diff options
Diffstat (limited to 'board/amcc/sequoia/Makefile')
-rw-r--r-- | board/amcc/sequoia/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/amcc/sequoia/Makefile b/board/amcc/sequoia/Makefile index a5d501079a2..8da3bd51149 100644 --- a/board/amcc/sequoia/Makefile +++ b/board/amcc/sequoia/Makefile @@ -25,9 +25,11 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS = $(BOARD).o cmd_sequoia.o sdram.o +COBJS-y = $(BOARD).o sdram.o +COBJS-$(CONFIG_CMD_CHIP_CONFIG) += chip_config.o SOBJS = init.o +COBJS := $(COBJS-y) SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) SOBJS := $(addprefix $(obj),$(SOBJS)) |