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
@@ -39,8 +39,6 @@ all: $(obj).depend $(LIB)
|
||||
$(LIB): $(OBJS)
|
||||
$(call cmd_link_o_target, $(OBJS))
|
||||
|
||||
$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
|
||||
|
||||
|
||||
#########################################################################
|
||||
|
||||
|
||||
@@ -37,8 +37,6 @@ all: $(obj).depend $(LIB)
|
||||
$(LIB): $(OBJS)
|
||||
$(call cmd_link_o_target, $(OBJS))
|
||||
|
||||
$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
|
||||
|
||||
#########################################################################
|
||||
|
||||
# defines $(obj).depend target
|
||||
|
||||
@@ -34,8 +34,6 @@ all: $(obj).depend $(LIB)
|
||||
$(LIB): $(OBJS)
|
||||
$(call cmd_link_o_target, $(OBJS))
|
||||
|
||||
$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
|
||||
|
||||
#########################################################################
|
||||
|
||||
# defines $(obj).depend target
|
||||
|
||||
@@ -34,8 +34,6 @@ all: $(obj).depend $(LIB)
|
||||
$(LIB): $(OBJS)
|
||||
$(call cmd_link_o_target, $(OBJS))
|
||||
|
||||
$(OBJS) : $(TOPDIR)/include/asm/arch/asm-offsets.h
|
||||
|
||||
#########################################################################
|
||||
|
||||
# defines $(obj).depend target
|
||||
|
||||
@@ -45,6 +45,4 @@ include $(SRCTREE)/rules.mk
|
||||
|
||||
sinclude $(obj).depend
|
||||
|
||||
lowlevel_init.o : $(TOPDIR)/include/asm/arch/asm-offsets.h
|
||||
|
||||
#########################################################################
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifdef __ASSEMBLY__
|
||||
|
||||
#include <asm/arch/imx-regs.h>
|
||||
#include <asm/arch/asm-offsets.h>
|
||||
#include <generated/asm-offsets.h>
|
||||
|
||||
.macro init_aips
|
||||
write32 IMX_AIPS1_BASE + AIPS_MPR_0_7, 0x77777777
|
||||
|
||||
Reference in New Issue
Block a user