public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] post: Fix building with O=
@ 2008-04-26 16:44 Kumar Gala
  2008-04-27 22:55 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2008-04-26 16:44 UTC (permalink / raw)
  To: u-boot


Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

A fix for 1.3.3

- k

 post/Makefile              |    6 +++---
 post/board/lwmon5/Makefile |    2 +-
 post/cpu/ppc4xx/Makefile   |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/post/Makefile b/post/Makefile
index c737729..a402e6a 100644
--- a/post/Makefile
+++ b/post/Makefile
@@ -22,7 +22,7 @@
 #

 include $(TOPDIR)/config.mk
-include $(TOPDIR)/include/autoconf.mk
+include $(OBJTREE)/include/autoconf.mk

 LIB				= libpost.a
 GPLIB-$(CONFIG_HAS_POST)	+= libgenpost.a
@@ -38,8 +38,8 @@ SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d cpu/$(CPU) ]; then echo \
 SPLIB-$(CONFIG_HAS_POST) += $(shell if [ -d board/$(BOARD) ]; then echo \
 			    "board/$(BOARD)/libpost$(BOARD).a"; fi)

-GPLIB	:= $(GPLIB-y)
-SPLIB	:= $(SPLIB-y)
+GPLIB	:= $(addprefix $(obj),$(GPLIB-y))
+SPLIB	:= $(addprefix $(obj),$(SPLIB-y))
 COBJS	:= $(COBJS-y)
 SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS	:= $(addprefix $(obj),$(COBJS))
diff --git a/post/board/lwmon5/Makefile b/post/board/lwmon5/Makefile
index 3cb6426..4e95515 100644
--- a/post/board/lwmon5/Makefile
+++ b/post/board/lwmon5/Makefile
@@ -20,7 +20,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
-include $(TOPDIR)/include/autoconf.mk
+include $(OBJTREE)/include/autoconf.mk

 LIB	= libpostlwmon5.a

diff --git a/post/cpu/ppc4xx/Makefile b/post/cpu/ppc4xx/Makefile
index 7b13413..87ecd7c 100644
--- a/post/cpu/ppc4xx/Makefile
+++ b/post/cpu/ppc4xx/Makefile
@@ -20,7 +20,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-include $(TOPDIR)/include/autoconf.mk
+include $(OBJTREE)/include/autoconf.mk

 LIB	= libpostppc4xx.a

-- 
1.5.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot-Users] [PATCH] post: Fix building with O=
  2008-04-26 16:44 [U-Boot-Users] [PATCH] post: Fix building with O= Kumar Gala
@ 2008-04-27 22:55 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-04-27 22:55 UTC (permalink / raw)
  To: u-boot

In message <Pine.LNX.4.64.0804261144090.865@blarg.am.freescale.net> you wrote:
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> 
> A fix for 1.3.3
> 
> - k
> 
>  post/Makefile              |    6 +++---
>  post/board/lwmon5/Makefile |    2 +-
>  post/cpu/ppc4xx/Makefile   |    2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-27 22:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-26 16:44 [U-Boot-Users] [PATCH] post: Fix building with O= Kumar Gala
2008-04-27 22:55 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox