public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Collapsing buildman output dir?
@ 2014-10-23 13:03 Tom Rini
  2014-10-23 18:28 ` Simon Glass
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2014-10-23 13:03 UTC (permalink / raw)
  To: u-boot

Hey,

So a common use case for me is building a single board.  I've updated my
wrapper script from BUILD_DIR=$MACHINE ./MAKEALL $MACHINE (roughly, of
course) to:
./tools/buildman/buildman --keep-outputs -dvel --output $MACHINE ^$MACHINE$

Which results in my output being ./$MACHINE/current/current/$MACHINE
rather than just $MACHINE.  Is there a way we can collapse things down
easily when we know we aren't going to be building multiple commits?
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141023/d0f1772f/attachment.pgp>

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

* [U-Boot] Collapsing buildman output dir?
  2014-10-23 13:03 [U-Boot] Collapsing buildman output dir? Tom Rini
@ 2014-10-23 18:28 ` Simon Glass
  2014-10-24 19:12   ` Tom Rini
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Glass @ 2014-10-23 18:28 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 23 October 2014 07:03, Tom Rini <trini@ti.com> wrote:
> Hey,
>
> So a common use case for me is building a single board.  I've updated my
> wrapper script from BUILD_DIR=$MACHINE ./MAKEALL $MACHINE (roughly, of
> course) to:
> ./tools/buildman/buildman --keep-outputs -dvel --output $MACHINE ^$MACHINE$
>
> Which results in my output being ./$MACHINE/current/current/$MACHINE
> rather than just $MACHINE.  Is there a way we can collapse things down
> easily when we know we aren't going to be building multiple commits?

Are you thinking of a new option to do this?

Regards,
Simon

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

* [U-Boot] Collapsing buildman output dir?
  2014-10-23 18:28 ` Simon Glass
@ 2014-10-24 19:12   ` Tom Rini
  2014-10-29 19:22     ` Simon Glass
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2014-10-24 19:12 UTC (permalink / raw)
  To: u-boot

On Thu, Oct 23, 2014 at 12:28:10PM -0600, Simon Glass wrote:
> Hi Tom,
> 
> On 23 October 2014 07:03, Tom Rini <trini@ti.com> wrote:
> > Hey,
> >
> > So a common use case for me is building a single board.  I've updated my
> > wrapper script from BUILD_DIR=$MACHINE ./MAKEALL $MACHINE (roughly, of
> > course) to:
> > ./tools/buildman/buildman --keep-outputs -dvel --output $MACHINE ^$MACHINE$
> >
> > Which results in my output being ./$MACHINE/current/current/$MACHINE
> > rather than just $MACHINE.  Is there a way we can collapse things down
> > easily when we know we aren't going to be building multiple commits?
> 
> Are you thinking of a new option to do this?

Well, if we can't just do it automatically, it's probably not worth the
hassle.  Probably..

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141024/f3b6898a/attachment.pgp>

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

* [U-Boot] Collapsing buildman output dir?
  2014-10-24 19:12   ` Tom Rini
@ 2014-10-29 19:22     ` Simon Glass
  2014-10-30  8:02       ` Albert ARIBAUD
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Glass @ 2014-10-29 19:22 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 24 October 2014 13:12, Tom Rini <trini@ti.com> wrote:
> On Thu, Oct 23, 2014 at 12:28:10PM -0600, Simon Glass wrote:
>> Hi Tom,
>>
>> On 23 October 2014 07:03, Tom Rini <trini@ti.com> wrote:
>> > Hey,
>> >
>> > So a common use case for me is building a single board.  I've updated my
>> > wrapper script from BUILD_DIR=$MACHINE ./MAKEALL $MACHINE (roughly, of
>> > course) to:
>> > ./tools/buildman/buildman --keep-outputs -dvel --output $MACHINE ^$MACHINE$
>> >
>> > Which results in my output being ./$MACHINE/current/current/$MACHINE
>> > rather than just $MACHINE.  Is there a way we can collapse things down
>> > easily when we know we aren't going to be building multiple commits?
>>
>> Are you thinking of a new option to do this?
>
> Well, if we can't just do it automatically, it's probably not worth the
> hassle.  Probably..

It sounds like something we should do. Will add to the list :-)

Regards,
Simon

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

* [U-Boot] Collapsing buildman output dir?
  2014-10-29 19:22     ` Simon Glass
@ 2014-10-30  8:02       ` Albert ARIBAUD
  0 siblings, 0 replies; 5+ messages in thread
From: Albert ARIBAUD @ 2014-10-30  8:02 UTC (permalink / raw)
  To: u-boot

Hello Simon,

On Wed, 29 Oct 2014 13:22:08 -0600, Simon Glass <sjg@chromium.org>
wrote:
> Hi Tom,
> 
> On 24 October 2014 13:12, Tom Rini <trini@ti.com> wrote:
> > On Thu, Oct 23, 2014 at 12:28:10PM -0600, Simon Glass wrote:
> >> Hi Tom,
> >>
> >> On 23 October 2014 07:03, Tom Rini <trini@ti.com> wrote:
> >> > Hey,
> >> >
> >> > So a common use case for me is building a single board.  I've updated my
> >> > wrapper script from BUILD_DIR=$MACHINE ./MAKEALL $MACHINE (roughly, of
> >> > course) to:
> >> > ./tools/buildman/buildman --keep-outputs -dvel --output $MACHINE ^$MACHINE$
> >> >
> >> > Which results in my output being ./$MACHINE/current/current/$MACHINE
> >> > rather than just $MACHINE.  Is there a way we can collapse things down
> >> > easily when we know we aren't going to be building multiple commits?
> >>
> >> Are you thinking of a new option to do this?
> >
> > Well, if we can't just do it automatically, it's probably not worth the
> > hassle.  Probably..
> 
> It sounds like something we should do. Will add to the list :-)

While you're looking into it, when building without a branch, we get
the output tree in $(OUTPUT_DIR)/current/current. I'd like it if one of
the "/curent" could be removed.

> Regards,
> Simon

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2014-10-30  8:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-23 13:03 [U-Boot] Collapsing buildman output dir? Tom Rini
2014-10-23 18:28 ` Simon Glass
2014-10-24 19:12   ` Tom Rini
2014-10-29 19:22     ` Simon Glass
2014-10-30  8:02       ` Albert ARIBAUD

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