提交 03e069dc 编写于 作者: W Wolfgang Denk

mpc512x: change cpu/mpc512x/Makefile to use Kconfig style

Signed-off-by: NWolfgang Denk <wd@denx.de>
Cc: John Rigby <jcrigby@gmail.com>
上级 a89c33db
#
# (C) Copyright 2007 DENX Software Engineering
# (C) Copyright 2007-2009 DENX Software Engineering
#
# See file CREDITS for list of people who contributed to this
# project.
......@@ -25,11 +25,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a
START = start.o
COBJS = traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o i2c.o iopin.o
ifdef CONFIG_IIM
COBJS += iim.o
endif
COBJS-y := traps.o cpu.o cpu_init.o speed.o interrupts.o serial.o i2c.o iopin.o
COBJS-${CONFIG_IIM} += iim.o
COBJS := $(COBJS-y)
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
START := $(addprefix $(obj),$(START))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册