summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/mx25/Makefile
diff options
context:
space:
mode:
authorMatthias Weisser <weisserm@arcor.de>2011-07-06 00:28:31 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-07-14 15:41:24 +0200
commit23210d8e1b369404c27ec6cc4a44ed069c4bb5ac (patch)
tree08db1b8173e06f9836fc197c44f3d0a91d7c7cb7 /arch/arm/cpu/arm926ejs/mx25/Makefile
parentdddb7c9ffdb3813c1242aa43b935dd3484c53a35 (diff)
downloadu-boot-imx-23210d8e1b369404c27ec6cc4a44ed069c4bb5ac.zip
u-boot-imx-23210d8e1b369404c27ec6cc4a44ed069c4bb5ac.tar.gz
u-boot-imx-23210d8e1b369404c27ec6cc4a44ed069c4bb5ac.tar.bz2
imx: Add auto generation of asm-offsets.h for imx25
Offsets to registers may be needed in asm code. This patch adds automated generation of these offsets form C structures. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/mx25/Makefile')
-rw-r--r--arch/arm/cpu/arm926ejs/mx25/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mx25/Makefile b/arch/arm/cpu/arm926ejs/mx25/Makefile
index 3c2a65e..9219c06 100644
--- a/arch/arm/cpu/arm926ejs/mx25/Makefile
+++ b/arch/arm/cpu/arm926ejs/mx25/Makefile
@@ -34,6 +34,8 @@ all: $(obj).depend $(LIB)
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
+$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
+
#########################################################################
# defines $(obj).depend target