Skip to contentSkip to conversation

Collapsing buildman output dir?

U-Boot Tom Rini 3 participants 5 messages Oct 23, 2014 – Oct 30, 2014

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

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!

Signature · 8 lines
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>
#1 lore raw

Hi Tom,

Quoted 10 lines · Tom Rini

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

author
#2 lore raw
Quoted 10 lines · Simon Glass

Hi Tom,

Quoted 7 lines · Tom Rini

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$

Quoted 5 lines
Quoted 3 lines

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

Signature · 8 lines
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>
#3 lore raw

Hi Tom,

Quoted 11 lines · Tom Rini
Quoted 10 lines · Simon Glass

Hi Tom,

Quoted 7 lines · Tom Rini

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$

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

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

#4 lore raw

Hello Simon,

Quoted 18 lines · Simon Glass

Hi Tom,

Quoted 15 lines · Tom Rini
Quoted 14 lines · Simon Glass

Hi Tom,

Quoted 10 lines · Tom Rini

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?

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

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.

Quoted 2 lines

Regards,
Simon

Amicalement,

Signature · 1 line
Albert.