diff options
author | Wolfgang Denk <wd@denx.de> | 2008-06-03 00:19:57 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-03 00:19:57 +0200 |
commit | 7a68389a231ac061ba2ffd628f86e15ed0545a7b (patch) | |
tree | 723fd35290b988810be6d417c21fa1949f25aae8 /cpu/at32ap/Makefile | |
parent | 7feb4d38ff1fdf8877f39447001ff9f6e93fa6bc (diff) | |
parent | a8092c021d27f27f4b323b7d49979ca01b3fc19d (diff) | |
download | u-boot-imx-7a68389a231ac061ba2ffd628f86e15ed0545a7b.zip u-boot-imx-7a68389a231ac061ba2ffd628f86e15ed0545a7b.tar.gz u-boot-imx-7a68389a231ac061ba2ffd628f86e15ed0545a7b.tar.bz2 |
Merge remote branch 'u-boot-avr32/master'
Diffstat (limited to 'cpu/at32ap/Makefile')
-rw-r--r-- | cpu/at32ap/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile index f69b1f3..d16c58b 100644 --- a/cpu/at32ap/Makefile +++ b/cpu/at32ap/Makefile @@ -27,13 +27,19 @@ include $(TOPDIR)/config.mk LIB := $(obj)lib$(CPU).a -START := start.o -SOBJS := entry.o -COBJS := cpu.o hsdramc.o exception.o cache.o -COBJS += interrupts.o pio.o atmel_mci.o -SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS)) -START := $(addprefix $(obj),$(START)) +START-y += start.o + +COBJS-y += cpu.o +COBJS-y += hsdramc.o +COBJS-y += exception.o +COBJS-y += cache.o +COBJS-y += interrupts.o +COBJS-y += pio.o +COBJS-$(CONFIG_MMC) += atmel_mci.o + +SRCS := $(START-y:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) +START := $(addprefix $(obj),$(START-y)) all: $(obj).depend $(START) $(LIB) |