diff options
| author | Simon Glass <sjg@chromium.org> | 2013-03-05 14:40:03 +0000 | 
|---|---|---|
| committer | Tom Rini <trini@ti.com> | 2013-03-15 16:14:01 -0400 | 
| commit | eb33809f70e3d3a2c1fba043e56cca8fccedbe0c (patch) | |
| tree | af09efc3e0a6e9a0512d672e2e01ad8581fd0531 /arch/sparc | |
| parent | 69e0683241ae291729adc8737fddfeae9801b024 (diff) | |
| download | olio-uboot-2014.01-eb33809f70e3d3a2c1fba043e56cca8fccedbe0c.tar.xz olio-uboot-2014.01-eb33809f70e3d3a2c1fba043e56cca8fccedbe0c.zip | |
sparc: Fix out-of-tree building
It isn't clear why the sparc cpu Makefile has its own compile line, but
it does not work correctly with an out-of-tree build. Removing it fixes
this problem. Perhaps it does not introduce others.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sparc')
| -rw-r--r-- | arch/sparc/cpu/leon2/Makefile | 7 | ||||
| -rw-r--r-- | arch/sparc/cpu/leon3/Makefile | 7 | 
2 files changed, 0 insertions, 14 deletions
| diff --git a/arch/sparc/cpu/leon2/Makefile b/arch/sparc/cpu/leon2/Makefile index a9a18eb1f..d4dc39703 100644 --- a/arch/sparc/cpu/leon2/Makefile +++ b/arch/sparc/cpu/leon2/Makefile @@ -43,13 +43,6 @@ $(LIB):	$(OBJS)  # defines $(obj).depend target  include $(SRCTREE)/rules.mk -$(START): $(START:.o=.S) -	$(CC) -D__ASSEMBLY__ $(DBGFLAGS) $(OPTFLAGS) -D__KERNEL__ \ -	-DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) -I$(TOPDIR)/include \ -	-fno-builtin -ffreestanding -nostdinc -isystem $(gccincdir) -pipe \ -	$(PLATFORM_CPPFLAGS) -Wall -Wstrict-prototypes \ -	-I$(TOPDIR)/board -c -o $(START) $(START:.o=.S) -  sinclude $(obj).depend  ######################################################################### diff --git a/arch/sparc/cpu/leon3/Makefile b/arch/sparc/cpu/leon3/Makefile index 16d3377c7..1d051e17a 100644 --- a/arch/sparc/cpu/leon3/Makefile +++ b/arch/sparc/cpu/leon3/Makefile @@ -43,13 +43,6 @@ $(LIB):	$(OBJS)  # defines $(obj).depend target  include $(SRCTREE)/rules.mk -$(START): $(START:.o=.S) -	$(CC) -D__ASSEMBLY__ $(DBGFLAGS) $(OPTFLAGS) -D__KERNEL__ \ -	-DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) -I$(TOPDIR)/include \ -	-fno-builtin -ffreestanding -nostdinc -isystem $(gccincdir) -pipe \ -	$(PLATFORM_CPPFLAGS) -Wall -Wstrict-prototypes \ -	-I$(TOPDIR)/board -c -o $(START) $(START:.o=.S) -  sinclude $(obj).depend  ######################################################################### |