summaryrefslogtreecommitdiffstats
path: root/cpu/arm926ejs/at91/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-04-24 13:31:02 +0200
committerWolfgang Denk <wd@denx.de>2009-04-24 13:31:02 +0200
commitfaa5a0c6fc5609acb4037a5eae79f7a47de4c6ee (patch)
tree408edf924d2bb05c4a5638a7a26066d77ac8b1c7 /cpu/arm926ejs/at91/Makefile
parent7ee38c044ca5041d3378d6507580ea4ec344af96 (diff)
parent6ebff365eb63093ca35b687316002535c6a18820 (diff)
downloadblackbird-obmc-uboot-faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee.tar.gz
blackbird-obmc-uboot-faa5a0c6fc5609acb4037a5eae79f7a47de4c6ee.zip
Merge branch 'master' of git://git.denx.de/u-boot-at91
Diffstat (limited to 'cpu/arm926ejs/at91/Makefile')
-rw-r--r--cpu/arm926ejs/at91/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpu/arm926ejs/at91/Makefile b/cpu/arm926ejs/at91/Makefile
index 34e746182a..fbc82d1258 100644
--- a/cpu/arm926ejs/at91/Makefile
+++ b/cpu/arm926ejs/at91/Makefile
@@ -55,17 +55,22 @@ COBJS-y += at91sam9rl_serial.o
COBJS-$(CONFIG_HAS_DATAFLASH) += at91sam9rl_spi.o
endif
COBJS-$(CONFIG_AT91_LED) += led.o
+COBJS-y += clock.o
+COBJS-y += cpu.o
COBJS-y += timer.o
SOBJS = lowlevel_init.o
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
-all: $(obj).depend $(LIB)
+all: $(obj).depend $(LIB) $(obj)u-boot.lds
$(LIB): $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)
+$(obj)u-boot.lds: u-boot.lds.S
+ $(CPP) $(CPPFLAGS) -D__ASSEMBLY__ -DCONFIG_BOARDDIR=$(BOARDDIR) -P $^ > $@
+
#########################################################################
# defines $(obj).depend target
OpenPOWER on IntegriCloud