tegra2: Fix out-of-tree build for Ventana.
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
Since Ventana is derived from Seaboard and requires seaboard.c to build, make sure board/nvidia/seaboard is created in the build tree.
--- board/nvidia/ventana/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
board/nvidia/ventana/Makefile +1 -0
@@ -25,6 +25,7 @@ include $(TOPDIR)/config.mk ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../seaboard) $(shell mkdir -p $(obj)../common) endif
Signature · 1 line
1.7.7.3
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
Thierry Reding wrote at Thursday, November 17, 2011 2:48 AM:
Quoted 4 lines
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.Signed-off-by Thierry Reding <[email protected]>
Signature · 1 line
nvpublic
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
In reply to Thierry Redingboard/nvidia/ventana/Makefile line 30
Quoted 10 lines · On Thursday 17 November 2011 04:48:22 Thierry Reding wrote:
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.board/nvidia/ventana/Makefile +1
-0ifneq ($(OBJTREE),$(SRCTREE)) +$(shell mkdir -p $(obj)../seaboard) $(shell mkdir -p $(obj)../common) endif
mkdir takes multiple paths. thus my proposal:
-$(shell mkdir -p $(obj)../common)
+$(shell mkdir -p $(obj)../common $(obj)../seaboard)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111117/c3ab2da8/attachment.pgp>
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
Quoted 7 lines · Mike Frysinger
Quoted 6 lines · On Thursday 17 November 2011 04:48:22 Thierry Reding wrote:
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.board/nvidia/ventana/Makefile +0
-0
Quoted 9 lines
Quoted 4 lines
ifneq ($(OBJTREE),$(SRCTREE))
+$(shell mkdir -p $(obj)../seaboard)
$(shell mkdir -p $(obj)../common)
endifmkdir takes multiple paths. thus my proposal:
-$(shell mkdir -p $(obj)../common)
+$(shell mkdir -p $(obj)../common $(obj)../seaboard) -mike
Heh, right. =)
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111118/9bac01c9/attachment.pgp>
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
In reply to Thierry RedingDear Thierry Reding,
Quoted 7 lines · In message <1321523302-4761-1-git-send-email-thierry.reding@avionic-design.de>…
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.Signed-off-by Thierry Reding <[email protected]>--- board/nvidia/ventana/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Verified that this indeed fixes the Ventana OOT build issues. Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
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
The only person who always got his work done by Friday
was Robinson Crusoe.Wolfgang Denk
AppliedPATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
In reply to Thierry RedingDear Thierry Reding,
Quoted 7 lines · In message <1321523302-4761-1-git-send-email-thierry.reding@avionic-design.de>…
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.Signed-off-by Thierry Reding <[email protected]>--- board/nvidia/ventana/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
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 I have a very small mind and must live with it. -- Edsger Dijkstra
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
Quoted 6 lines · Wolfgang Denk
Dear Thierry Reding,
Quoted 3 lines · In message <1321523302-4761-1-git-send-email-thierry.reding@avionic-design.de>…
Since Ventana is derived from Seaboard and requires
seaboard.cto build, make sure board/nvidia/seaboard is created in the build tree.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Thierry Reding <[email protected]>--- board/nvidia/ventana/Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)Applied, thanks.
I actually have an updated version applied locally with the change proposed by Mike, but I completely forgot to send it to the list.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111222/cb1a2bd9/attachment.pgp>
PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.
Dear Thierry Reding,
Quoted 3 lines · In message <[email protected]> you…
I actually have an updated version applied locally with the change proposed by Mike, but I completely forgot to send it to the list.
Can you then please submit an incremental patch (against current master)? TIA...
Best regards,
Wolfgang Denk
Signature · 5 lines
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 It usually takes more than three weeks to prepare a good impromptu speech. - Mark Twain
PATCH 1/1 tegra2: Optimize out-of-tree build for Ventana.
As proposed by Mike Frysinger, mkdir can take more than one argument. Instead of spawning two processes, create both the common and seaboard directories in one go.
---
I realize how trivial this is, and I feel a little embarrassed.
board/nvidia/ventana/Makefile | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
board/nvidia/ventana/Makefile +1 -2
@@ -25,8 +25,7 @@ include $(TOPDIR)/config.mk ifneq ($(OBJTREE),$(SRCTREE)) -$(shell mkdir -p $(obj)../seaboard) -$(shell mkdir -p $(obj)../common) +$(shell mkdir -p $(obj)../common $(obj)../seaboard) endif LIB = $(obj)lib$(BOARD).o
Signature · 1 line
1.7.8