Skip to contentSkip to conversation

tegra2: Fix out-of-tree build for Ventana.

PATCH New Thierry Reding 4 participants 9 messages Nov 17, 2011 – Dec 22, 2011

lore
Share & tools
lore
#0 lore raw

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
index 9e5a87f..d5140c8 100644
@@ -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
#2 lore raw

PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.

In reply to Thierry Reding

board/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.c to build, make sure board/nvidia/seaboard is created in the build tree.

board/nvidia/ventana/Makefile +1 -0
 
 ifneq ($(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>

#3 lore raw

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.c to 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)
endif

mkdir 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>

#4 lore raw

PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.

In reply to Thierry Reding

Dear 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.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(-)

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.
#5 lore raw

PATCH 1/1 tegra2: Fix out-of-tree build for Ventana.

In reply to Thierry Reding

Dear 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.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(-)

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
#6 lore raw

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.c to build, make sure board/nvidia/seaboard is created in the build tree.

Quoted 6 lines
Quoted 4 lines
---
 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>

#7 lore raw

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
#8 lore raw

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
index d5140c8..c7e9bba 100644
@@ -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