diff options
Diffstat (limited to 'board/amcc/katmai/Makefile')
-rw-r--r-- | board/amcc/katmai/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/board/amcc/katmai/Makefile b/board/amcc/katmai/Makefile index 318016d..168bab5 100644 --- a/board/amcc/katmai/Makefile +++ b/board/amcc/katmai/Makefile @@ -25,9 +25,11 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(BOARD).a -COBJS = $(BOARD).o cmd_katmai.o +COBJS-y := $(BOARD).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)) |