diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-21 13:01:09 +0200 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-05-27 15:27:31 +0200 |
commit | 48ea623eae8674793372e3e7c95e72e5a44d7a95 (patch) | |
tree | c857ba09054cfed5ef90ebea7ee82c53aa245eca /cpu/at32ap/Makefile | |
parent | e92a5bf8330654e33ac13f6b3058634e58f5d1c0 (diff) | |
download | u-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.zip u-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.tar.gz u-boot-imx-48ea623eae8674793372e3e7c95e72e5a44d7a95.tar.bz2 |
avr32: Compile atmel_mci.o conditionally
Remove #ifdef CONFIG_MMC from the source file and use conditional
compilation in the Makefile instead.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'cpu/at32ap/Makefile')
-rw-r--r-- | cpu/at32ap/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile index 29f9c0d..d16c58b 100644 --- a/cpu/at32ap/Makefile +++ b/cpu/at32ap/Makefile @@ -35,7 +35,7 @@ COBJS-y += exception.o COBJS-y += cache.o COBJS-y += interrupts.o COBJS-y += pio.o -COBJS-y += atmel_mci.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)) |