* [U-Boot] buildman: make-flags variables broken?
@ 2014-08-22 12:08 Tom Rini
2014-08-22 19:40 ` Simon Glass
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2014-08-22 12:08 UTC (permalink / raw)
To: u-boot
Hey,
In adding an env-flags section for buildman and trying to test out my
docs, I think I found that the following doesn't work today:
[make-flags]
mipsel-boards=1=2 2=3
qemu_mipsel=${mipsel-boards} 4=5
With a:
diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
index 920752c..77118e4 100644
--- a/tools/buildman/builderthread.py
+++ b/tools/buildman/builderthread.py
@@ -203,6 +203,7 @@ class BuilderThread(threading.Thread):
config_args = ['%s_defconfig' % brd.target]
config_out = ''
args.extend(self.builder.toolchains.GetMakeArguments(brd))
+ print args
I get:
['O=build', '-s', '-j', '9', '${mipsel-boards}', '4=5']
as the output.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140822/caebab4f/attachment.pgp>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] buildman: make-flags variables broken?
2014-08-22 12:08 [U-Boot] buildman: make-flags variables broken? Tom Rini
@ 2014-08-22 19:40 ` Simon Glass
2014-08-23 1:41 ` Simon Glass
0 siblings, 1 reply; 4+ messages in thread
From: Simon Glass @ 2014-08-22 19:40 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 22 August 2014 06:08, Tom Rini <trini@ti.com> wrote:
>
> Hey,
>
> In adding an env-flags section for buildman and trying to test out my
> docs, I think I found that the following doesn't work today:
> [make-flags]
> mipsel-boards=1=2 2=3
> qemu_mipsel=${mipsel-boards} 4=5
>
> With a:
> diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
> index 920752c..77118e4 100644
> --- a/tools/buildman/builderthread.py
> +++ b/tools/buildman/builderthread.py
> @@ -203,6 +203,7 @@ class BuilderThread(threading.Thread):
> config_args = ['%s_defconfig' % brd.target]
> config_out = ''
> args.extend(self.builder.toolchains.GetMakeArguments(brd))
> + print args
>
> I get:
> ['O=build', '-s', '-j', '9', '${mipsel-boards}', '4=5']
>
> as the output.
I have a little list of buiidman/patman things so will add this. I
have not had much time this week and want to figure out the bootm
stuff first. But will get it to it in the next few days.
Regards,
Simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] buildman: make-flags variables broken?
2014-08-22 19:40 ` Simon Glass
@ 2014-08-23 1:41 ` Simon Glass
2014-08-23 11:52 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Simon Glass @ 2014-08-23 1:41 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 22 August 2014 13:40, Simon Glass <sjg@chromium.org> wrote:
> Hi Tom,
>
> On 22 August 2014 06:08, Tom Rini <trini@ti.com> wrote:
>>
>> Hey,
>>
>> In adding an env-flags section for buildman and trying to test out my
>> docs, I think I found that the following doesn't work today:
>> [make-flags]
>> mipsel-boards=1=2 2=3
>> qemu_mipsel=${mipsel-boards} 4=5
>>
>> With a:
>> diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
>> index 920752c..77118e4 100644
>> --- a/tools/buildman/builderthread.py
>> +++ b/tools/buildman/builderthread.py
>> @@ -203,6 +203,7 @@ class BuilderThread(threading.Thread):
>> config_args = ['%s_defconfig' % brd.target]
>> config_out = ''
>> args.extend(self.builder.toolchains.GetMakeArguments(brd))
>> + print args
>>
>> I get:
>> ['O=build', '-s', '-j', '9', '${mipsel-boards}', '4=5']
>>
>> as the output.
>
> I have a little list of buiidman/patman things so will add this. I
> have not had much time this week and want to figure out the bootm
> stuff first. But will get it to it in the next few days.
The problem is that buildman does not support - and _ in the
variables. I'll add this in a new patch.
Regards,
Simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] buildman: make-flags variables broken?
2014-08-23 1:41 ` Simon Glass
@ 2014-08-23 11:52 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2014-08-23 11:52 UTC (permalink / raw)
To: u-boot
On Fri, Aug 22, 2014 at 07:41:03PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On 22 August 2014 13:40, Simon Glass <sjg@chromium.org> wrote:
> > Hi Tom,
> >
> > On 22 August 2014 06:08, Tom Rini <trini@ti.com> wrote:
> >>
> >> Hey,
> >>
> >> In adding an env-flags section for buildman and trying to test out my
> >> docs, I think I found that the following doesn't work today:
> >> [make-flags]
> >> mipsel-boards=1=2 2=3
> >> qemu_mipsel=${mipsel-boards} 4=5
> >>
> >> With a:
> >> diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py
> >> index 920752c..77118e4 100644
> >> --- a/tools/buildman/builderthread.py
> >> +++ b/tools/buildman/builderthread.py
> >> @@ -203,6 +203,7 @@ class BuilderThread(threading.Thread):
> >> config_args = ['%s_defconfig' % brd.target]
> >> config_out = ''
> >> args.extend(self.builder.toolchains.GetMakeArguments(brd))
> >> + print args
> >>
> >> I get:
> >> ['O=build', '-s', '-j', '9', '${mipsel-boards}', '4=5']
> >>
> >> as the output.
> >
> > I have a little list of buiidman/patman things so will add this. I
> > have not had much time this week and want to figure out the bootm
> > stuff first. But will get it to it in the next few days.
>
> The problem is that buildman does not support - and _ in the
> variables. I'll add this in a new patch.
Ah, OK. I was just following the docs of course :)
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140823/f35e524f/attachment.pgp>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-23 11:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-22 12:08 [U-Boot] buildman: make-flags variables broken? Tom Rini
2014-08-22 19:40 ` Simon Glass
2014-08-23 1:41 ` Simon Glass
2014-08-23 11:52 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.