All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6 v2] ColdFire: Add $(obj) before cpu lib to correct build
Date: Fri, 14 Oct 2011 16:38:02 +0200	[thread overview]
Message-ID: <1318603086-9996-2-git-send-email-stany.marcel@novasys-ingenierie.com> (raw)
In-Reply-To: <20111013195836.0F8A214094B4@gemini.denx.de>

Missing $(obj) prevented the build of ColdFire boards in a directory
than sources

Signed-off-by: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
---

Changes for v2:
	- rebase to master

 arch/m68k/cpu/mcf5227x/Makefile   |    2 +-
 arch/m68k/cpu/mcf523x/Makefile    |    2 +-
 arch/m68k/cpu/mcf532x/Makefile    |    2 +-
 arch/m68k/cpu/mcf5445x/Makefile   |    2 +-
 arch/m68k/cpu/mcf547x_8x/Makefile |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/m68k/cpu/mcf5227x/Makefile b/arch/m68k/cpu/mcf5227x/Makefile
index eb36264..0490f0e 100644
--- a/arch/m68k/cpu/mcf5227x/Makefile
+++ b/arch/m68k/cpu/mcf5227x/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk

 # CFLAGS += -DET_DEBUG

-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o

 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
diff --git a/arch/m68k/cpu/mcf523x/Makefile b/arch/m68k/cpu/mcf523x/Makefile
index eb36264..0490f0e 100644
--- a/arch/m68k/cpu/mcf523x/Makefile
+++ b/arch/m68k/cpu/mcf523x/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk

 # CFLAGS += -DET_DEBUG

-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o

 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
diff --git a/arch/m68k/cpu/mcf532x/Makefile b/arch/m68k/cpu/mcf532x/Makefile
index 257d46d..eb043d9 100644
--- a/arch/m68k/cpu/mcf532x/Makefile
+++ b/arch/m68k/cpu/mcf532x/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk

 # CFLAGS += -DET_DEBUG

-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o

 START	=
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o
diff --git a/arch/m68k/cpu/mcf5445x/Makefile b/arch/m68k/cpu/mcf5445x/Makefile
index 047e35d..5b7ddd6 100644
--- a/arch/m68k/cpu/mcf5445x/Makefile
+++ b/arch/m68k/cpu/mcf5445x/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk

 # CFLAGS += -DET_DEBUG

-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o

 START	= start.o
 COBJS	= cpu.o speed.o cpu_init.o interrupts.o pci.o
diff --git a/arch/m68k/cpu/mcf547x_8x/Makefile b/arch/m68k/cpu/mcf547x_8x/Makefile
index e41ce68..a415aab 100644
--- a/arch/m68k/cpu/mcf547x_8x/Makefile
+++ b/arch/m68k/cpu/mcf547x_8x/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk

 # CFLAGS += -DET_DEBUG

-LIB	= lib$(CPU).o
+LIB	= $(obj)lib$(CPU).o

 START	=
 COBJS	= cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o
--
1.7.1

  parent reply	other threads:[~2011-10-14 14:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 12:44 [U-Boot] [PATCH 1/6] ColdFire: Cleanup lds files for multiple defined symbols Stany MARCEL
2011-09-14 12:44 ` [U-Boot] [PATCH 2/6] ColdFire: Add $(obj) before cpu lib to correct build Stany MARCEL
2011-09-14 12:44 ` [U-Boot] [PATCH 3/6] ColdFire: Move boards with simple _config rules to boards.cfg Stany MARCEL
2011-09-16  7:48   ` Jin Zhengxiong-R64188
2011-09-16 20:05     ` Stany MARCEL
2011-09-14 12:44 ` [U-Boot] [PATCH 4/6] ColdFire: Merge differentiated linking files into a sigle one by board Stany MARCEL
2011-09-14 12:44 ` [U-Boot] [PATCH 5/6] ColdFire: Clean Makefile _config rules Stany MARCEL
2011-09-14 12:44 ` [U-Boot] [PATCH 6/6] ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined Stany MARCEL
2011-09-16  7:48 ` [U-Boot] [PATCH 1/6] ColdFire: Cleanup lds files for multiple defined symbols Jin Zhengxiong-R64188
2011-09-16 20:11   ` Stany MARCEL
2011-10-09 20:16     ` Stany MARCEL
2011-10-12  3:52       ` Jin Zhengxiong-R64188
2011-10-12  7:22         ` Stany MARCEL
2011-10-13 19:58           ` Wolfgang Denk
2011-10-14 14:38             ` [U-Boot] [PATCH 1/6 v2] " Stany MARCEL
2011-10-15 20:07               ` Mike Frysinger
2011-10-14 14:38             ` Stany MARCEL [this message]
2011-10-14 14:38             ` [U-Boot] [PATCH 3/6 v2] ColdFire: Move boards with simple _config rules to boards.cfg Stany MARCEL
2011-10-14 14:38             ` [U-Boot] [PATCH 4/6 v2] ColdFire: Merge differentiated linking files into a sigle one by board Stany MARCEL
2011-10-14 14:38             ` [U-Boot] [PATCH 5/6 v2] ColdFire: Clean Makefile _config rules Stany MARCEL
2011-10-14 14:38             ` [U-Boot] [PATCH 6/6 v2] ColdFire: Fix compilation with CONFIG_SYS_DRAMSZ1 defined Stany MARCEL

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1318603086-9996-2-git-send-email-stany.marcel@novasys-ingenierie.com \
    --to=stany.marcel@novasys-ingenierie.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.