Where should MACHINE_TASK_PROVIDER be defined?
There seems to be significant inconsistency in the way that MACHINE_TASK_PROVIDER is defined in OE (see the output of a recursive grep command in .../conf at the end of this message).
It's defaulted to "task-base" in bitbake.conf, and then every man and his dog forcibly defines it to the same thing in a variety of machine.conf files and distro.conf files.
Should all of these instances simply be deleted, cause none of them actually change the default, and all of them stop the user from changing
it in local.conf ...
If it is to be overridden, should it be a distro override or a machine override? What would be normal reasons for overriding it?
Quoted 26 lines
find . -type f -print0 | xargs -0 grep
MACHINE_TASK_PROVIDER./distro/include/angstrom.inc:MACHINE_TASK_PROVIDER = "task-base" ./distro/include/openmoko.inc:MACHINE_TASK_PROVIDER = "task-base" ./machine/collie.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/h3600.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/jornada6xx.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/jornada7xx.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/mainstone.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/netvista.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/nokia770.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/omap5912osk.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/include/zaurus-2.6.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/include/lsppc.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/simpad.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/x86.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/devkitidp-pxa255.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/qemuarm.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/efika.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/logicpd-pxa270.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/htcuniversal.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/dht-walnut.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/titan.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/wrap.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/smdk2440.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/compulab-pxa270.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/storcenter.conf:MACHINE_TASK_PROVIDER = "task-base"
Quoted 8 lines
./machine/qemux86.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/fic-gta01.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/shark.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/turbostation.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/n2100.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/smdk2443.conf:MACHINE_TASK_PROVIDER = "task-base" ./machine/lsarm.conf:MACHINE_TASK_PROVIDER = "task-base" ./bitbake.conf:MACHINE_TASK_PROVIDER ?= "task-base"
-- Rod
Quoted 9 lines · Rod Whitby
There seems to be significant inconsistency in the way that
MACHINE_TASK_PROVIDERis defined in OE (see the output of a recursive grep command in .../conf at the end of this message).It's defaulted to "task-base" in bitbake.conf, and then every man and his dog forcibly defines it to the same thing in a variety of machine.conf files and distro.conf files.
Should all of these instances simply be deleted
Yes - most of them are from time when we had task-bootstrap as default.
Signature · 5 lines
JID: hrw-jabber.org
OpenEmbedded developer/consultant
Packrat's Credo:
I have no use for it, but I hate to see it go to waste.Quoted 5 lines · Marcin Juszkiewicz
Quoted 4 lines · Rod Whitby
There seems to be significant inconsistency in the way that
MACHINE_TASK_PROVIDERis defined in OE (see the output of a recursive grep command in .../conf at the end of this message).
Quoted 7 lines
Quoted 5 lines
It's defaulted to "task-base" in bitbake.conf, and then every man and his dog forcibly defines it to the same thing in a variety of machine.conf files and distro.conf files.
Should all of these instances simply be deleted
Yes - most of them are from time when we had task-bootstrap as default.
Agreed.
They're from the transition period when task-bootstrap was default and each machine had to be tagged as it was converted. All the duplicates can now be removed since the default has changed.
Cheers,
Richard
Quoted 10 lines · Richard Purdie
Quoted 9 lines · Marcin Juszkiewicz
Quoted 8 lines · Rod Whitby
There seems to be significant inconsistency in the way that
MACHINE_TASK_PROVIDERis defined in OE (see the output of a recursive grep command in .../conf at the end of this message).It's defaulted to "task-base" in bitbake.conf, and then every man and his dog forcibly defines it to the same thing in a variety of machine.conf files and distro.conf files.
Quoted 8 lines
Quoted 2 lines
Quoted 1 line
Should all of these instances simply be deleted
Yes - most of them are from time when we had task-bootstrap as default.
Agreed.
They're from the transition period when task-bootstrap was default and each machine had to be tagged as it was converted. All the duplicates can now be removed since the default has changed.
This has now been done and committed.
-- Rod
Quoted 1 line · Rod Whitby
This has now been done and committed.
Thanks for cleaning up.
Regards,
:M:
Signature · 1 line
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de