Makefile : fix generation of cpu related asm-offsets.h
commit 0edf8b5b2f 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>
This commit is contained in:
committed by
Wolfgang Denk
parent
99ffccbd3e
commit
a4814a69d3
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <config.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/asm-offsets.h>
|
||||
#include <generated/asm-offsets.h>
|
||||
#include "mx35pdk.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <version.h>
|
||||
#include <asm/macro.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/asm-offsets.h>
|
||||
#include <generated/asm-offsets.h>
|
||||
|
||||
SOC_ESDCTL_BASE_W: .word IMX_ESD_BASE
|
||||
SOC_SI_ID_REG_W: .word IMX_SYSTEM_CTL_BASE
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <version.h>
|
||||
#include <asm/macro.h>
|
||||
#include <asm/arch/mb86r0x.h>
|
||||
#include <asm/arch/asm-offsets.h>
|
||||
#include <generated/asm-offsets.h>
|
||||
|
||||
/* Set up the platform, once the cpu has been initialized */
|
||||
.globl lowlevel_init
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <asm/macro.h>
|
||||
#include <asm/arch/macro.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/asm-offsets.h>
|
||||
#include <generated/asm-offsets.h>
|
||||
|
||||
/*
|
||||
* clocks
|
||||
|
||||
Reference in New Issue
Block a user