ppc_4xx:HCU4/5: Fix O= builds
PATCH 1/1 ppc_4xx:HCU4/5: Fix O= builds
Allow passing O=../build for the HCU4/HCU5 builds
--- board/netstal/hcu4/Makefile | 4 ++-- board/netstal/hcu5/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
board/netstal/hcu4/Makefile +2 -2
@@ -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))
board/netstal/hcu5/Makefile +2 -2
@@ -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))
Signature · 1 line
1.5.2.5
PATCH 1/1 ppc_4xx:HCU4/5: Fix O= builds
Quoted 1 line · Niklaus Giger
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
=====================================================================