* [U-Boot-Users] [PATCH] ppc_4xx:HCU4/5: Fix O= builds
@ 2008-01-18 9:11 Niklaus Giger
2008-01-29 13:54 ` Stefan Roese
0 siblings, 1 reply; 2+ messages in thread
From: Niklaus Giger @ 2008-01-18 9:11 UTC (permalink / raw)
To: u-boot
Allow passing O=../build for the HCU4/HCU5 builds
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
---
board/netstal/hcu4/Makefile | 4 ++--
board/netstal/hcu5/Makefile | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/board/netstal/hcu4/Makefile b/board/netstal/hcu4/Makefile
index b13d9d4..c0d719f 100644
--- a/board/netstal/hcu4/Makefile
+++ b/board/netstal/hcu4/Makefile
@@ -27,11 +27,11 @@ vpath hcu_flash.c ../common
vpath nm_bsp.c ../common
# NOBJS : Netstal common objects
-NOBJS = ../common/fixed_sdram.o ../common/hcu_flash.o ../common/nm_bsp.o
+NOBJS = fixed_sdram.o hcu_flash.o nm_bsp.o
COBJS = $(BOARD).o
SOBJS =
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(NOBJS:.o=.c)
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
NOBJS := $(addprefix $(obj),$(NOBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
diff --git a/board/netstal/hcu5/Makefile b/board/netstal/hcu5/Makefile
index 9f248a4..9645e45 100644
--- a/board/netstal/hcu5/Makefile
+++ b/board/netstal/hcu5/Makefile
@@ -26,11 +26,11 @@ vpath hcu_flash.c ../common
vpath nm_bsp.c ../common
# NOBJS : Netstal common objects
-NOBJS = ../common/hcu_flash.o ../common/nm_bsp.o
+NOBJS = hcu_flash.o nm_bsp.o
COBJS = $(BOARD).o sdram.o
SOBJS = init.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) $(NOBJS:.o=.c)
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) ../common/$(NOBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
NOBJS := $(addprefix $(obj),$(NOBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
--
1.5.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] ppc_4xx:HCU4/5: Fix O= builds
2008-01-18 9:11 [U-Boot-Users] [PATCH] ppc_4xx:HCU4/5: Fix O= builds Niklaus Giger
@ 2008-01-29 13:54 ` Stefan Roese
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2008-01-29 13:54 UTC (permalink / raw)
To: u-boot
On Friday 18 January 2008, Niklaus Giger wrote:
> Allow passing O=../build for the HCU4/HCU5 builds
This re-introduces the original problem, I tried to solve with my version:
[stefan at ubuntu u-boot-ppc4xx (for-1.3.2)]$ ./MAKEALL hcu4
Configuring for hcu4 board...
ppc_4xx-gcc: hcu_flash.c: No such file or directory
ppc_4xx-gcc: no input files
ppc_4xx-gcc: nm_bsp.c: No such file or directory
ppc_4xx-gcc: no input files
Please send a patch that fixes the problem without such a compilation
error/warning.
And please always keep me on CC on mails/patches that are related to ppc4xx.
For "git-send-email" you can use the "-cc" option.
Nitpick: And also please use "ppc4xx:" instead of "ppc_4xx:" in the mail
subject (git commit text).
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-01-29 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-18 9:11 [U-Boot-Users] [PATCH] ppc_4xx:HCU4/5: Fix O= builds Niklaus Giger
2008-01-29 13:54 ` Stefan Roese
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox