summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/mx5
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-09-05 04:32:28 +0000
committerWolfgang Denk <wd@denx.de>2011-09-07 21:41:27 +0200
commita4814a69d3bca6ee05f4bfc4c4e965e8fcd544e6 (patch)
treedee5379d7a265ab6c91a560252f83e7cacc1831a /arch/arm/cpu/armv7/mx5
parent99ffccbd3e5b7bc715e2eed6ea6d36f4020b56d8 (diff)
downloadblackbird-obmc-uboot-a4814a69d3bca6ee05f4bfc4c4e965e8fcd544e6.tar.gz
blackbird-obmc-uboot-a4814a69d3bca6ee05f4bfc4c4e965e8fcd544e6.zip
Makefile : fix generation of cpu related asm-offsets.h
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Matthias Weisser <weisserm@arcor.de> CC: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7/mx5')
-rw-r--r--arch/arm/cpu/armv7/mx5/Makefile2
-rw-r--r--arch/arm/cpu/armv7/mx5/lowlevel_init.S2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/mx5/Makefile b/arch/arm/cpu/armv7/mx5/Makefile
index 6e13cc3e84..e8be9c9fab 100644
--- a/arch/arm/cpu/armv7/mx5/Makefile
+++ b/arch/arm/cpu/armv7/mx5/Makefile
@@ -45,6 +45,4 @@ include $(SRCTREE)/rules.mk
sinclude $(obj).depend
-lowlevel_init.o : $(TOPDIR)/include/asm/arch/asm-offsets.h
-
#########################################################################
diff --git a/arch/arm/cpu/armv7/mx5/lowlevel_init.S b/arch/arm/cpu/armv7/mx5/lowlevel_init.S
index 6c66b42619..7e37221e03 100644
--- a/arch/arm/cpu/armv7/mx5/lowlevel_init.S
+++ b/arch/arm/cpu/armv7/mx5/lowlevel_init.S
@@ -21,7 +21,7 @@
#include <config.h>
#include <asm/arch/imx-regs.h>
-#include <asm/arch/asm-offsets.h>
+#include <generated/asm-offsets.h>
/*
* L2CC Cache setup/invalidation/disable
OpenPOWER on IntegriCloud