* RFC: Clean up omap3.inc
@ 2011-11-10 20:11 Florian Boor
2011-11-10 20:27 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Florian Boor @ 2011-11-10 20:11 UTC (permalink / raw)
To: openembedded-devel
Hi all,
omap3.inc currently contains this line:
EXTRA_IMAGEDEPENDS += "u-boot x-load"
This makes it hard to build for an OMAP3 based machine without providing a
x-load configuration for it. Actually I do not think hardcoding a particular
bootloader for a class of SoC is a good idea at all. The selection whether a
bootloader needs to be build and which one to select should be a matter of the
machine configuration.
Could we please get rid of this and fix the board descriptions?
Greetings
Florian
--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
http://www.kernelconcepts.de/en
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: RFC: Clean up omap3.inc 2011-11-10 20:11 RFC: Clean up omap3.inc Florian Boor @ 2011-11-10 20:27 ` Koen Kooi 2011-11-10 20:54 ` Florian Boor 0 siblings, 1 reply; 6+ messages in thread From: Koen Kooi @ 2011-11-10 20:27 UTC (permalink / raw) To: openembedded-devel -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 10-11-11 21:11, Florian Boor schreef: > Hi all, > > omap3.inc currently contains this line: > > EXTRA_IMAGEDEPENDS += "u-boot x-load" > > This makes it hard to build for an OMAP3 based machine without providing > a x-load configuration for it. Wrong. You can do the following in your machine.conf: require omap3.inc EXTRA_IMAGEDEPENDS = "whatever" to reset it. > Actually I do not think hardcoding a particular bootloader for a class of > SoC is a good idea at all. The selection whether a bootloader needs to be > build and which one to select should be a matter of the machine > configuration. > > Could we please get rid of this and fix the board descriptions? In OE classic, no. In meta-ti the cleanup is already underway. regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFOvDOVMkyGM64RGpERAunKAKC7udUOfCyn4wLKlPYg5/kMJPSNEgCgqgp9 lFTgVwMfsUQuNuC6mI8VZrg= =ndzI -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: Clean up omap3.inc 2011-11-10 20:27 ` Koen Kooi @ 2011-11-10 20:54 ` Florian Boor 2011-11-10 21:55 ` Tom Rini 0 siblings, 1 reply; 6+ messages in thread From: Florian Boor @ 2011-11-10 20:54 UTC (permalink / raw) To: openembedded-devel Hi Koen, Am 10.11.2011 21:27, schrieb Koen Kooi: > Wrong. You can do the following in your machine.conf: > > require omap3.inc > > EXTRA_IMAGEDEPENDS = "whatever" this is a workaround for a bad misconception. EXTRA_IMAGEDEPENDS could have been appended everywhere and this intrusive override might break quite a lot. > In OE classic, no. In meta-ti the cleanup is already underway. I do not care bout meta-ti, its is broken in OE classic. Removing this hardcoded dependency would not break anything. Only the board maintainers who want to get it built automatically would have to add it. Greetings Florian -- The dream of yesterday Florian Boor is the hope of today Tel: +49 271-771091-15 and the reality of tomorrow. Fax: +49 271-771091-19 [Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de http://www.kernelconcepts.de/en ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: Clean up omap3.inc 2011-11-10 20:54 ` Florian Boor @ 2011-11-10 21:55 ` Tom Rini 2011-11-12 10:28 ` Paul Menzel 0 siblings, 1 reply; 6+ messages in thread From: Tom Rini @ 2011-11-10 21:55 UTC (permalink / raw) To: openembedded-devel On Thu, Nov 10, 2011 at 1:54 PM, Florian Boor <florian.boor@kernelconcepts.de> wrote: > Hi Koen, > > Am 10.11.2011 21:27, schrieb Koen Kooi: >> Wrong. You can do the following in your machine.conf: >> >> require omap3.inc >> >> EXTRA_IMAGEDEPENDS = "whatever" > > this is a workaround for a bad misconception. EXTRA_IMAGEDEPENDS could have been > appended everywhere and this intrusive override might break quite a lot. > >> In OE classic, no. In meta-ti the cleanup is already underway. > > I do not care bout meta-ti, its is broken in OE classic. > > > Removing this hardcoded dependency would not break anything. Only the board > maintainers who want to get it built automatically would have to add it. But, that's most of them today. -- Tom ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: Clean up omap3.inc 2011-11-10 21:55 ` Tom Rini @ 2011-11-12 10:28 ` Paul Menzel 2011-11-12 21:21 ` Tom Rini 0 siblings, 1 reply; 6+ messages in thread From: Paul Menzel @ 2011-11-12 10:28 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 1338 bytes --] Am Donnerstag, den 10.11.2011, 14:55 -0700 schrieb Tom Rini: > On Thu, Nov 10, 2011 at 1:54 PM, Florian Boor wrote: > > Am 10.11.2011 21:27, schrieb Koen Kooi: > >> Wrong. You can do the following in your machine.conf: > >> > >> require omap3.inc > >> > >> EXTRA_IMAGEDEPENDS = "whatever" > > > > this is a workaround for a bad misconception. EXTRA_IMAGEDEPENDS could have been > > appended everywhere and this intrusive override might break quite a lot. > > > >> In OE classic, no. In meta-ti the cleanup is already underway. > > > > I do not care bout meta-ti, its is broken in OE classic. > > > > > > Removing this hardcoded dependency would not break anything. Only the board > > maintainers who want to get it built automatically would have to add it. > > But, that's most of them today. Sorry Tom, could you try harder to explain the reason, please? How many boards are there in the upstream OE repository depending on this and would have to be changed? I think Florian could commit that with his clean up easily. On the other side developers opposing this clean up could at least offer to add a comment to the file with a proposed work around for people hitting this issue. Still there should be a good reason. Like all your internal TI projects depend on this for example. Thanks, Paul [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 205 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RFC: Clean up omap3.inc 2011-11-12 10:28 ` Paul Menzel @ 2011-11-12 21:21 ` Tom Rini 0 siblings, 0 replies; 6+ messages in thread From: Tom Rini @ 2011-11-12 21:21 UTC (permalink / raw) To: openembedded-devel On Sat, Nov 12, 2011 at 3:28 AM, Paul Menzel <paulepanter@users.sourceforge.net> wrote: > Am Donnerstag, den 10.11.2011, 14:55 -0700 schrieb Tom Rini: >> On Thu, Nov 10, 2011 at 1:54 PM, Florian Boor wrote: > >> > Am 10.11.2011 21:27, schrieb Koen Kooi: >> >> Wrong. You can do the following in your machine.conf: >> >> >> >> require omap3.inc >> >> >> >> EXTRA_IMAGEDEPENDS = "whatever" >> > >> > this is a workaround for a bad misconception. EXTRA_IMAGEDEPENDS could have been >> > appended everywhere and this intrusive override might break quite a lot. >> > >> >> In OE classic, no. In meta-ti the cleanup is already underway. >> > >> > I do not care bout meta-ti, its is broken in OE classic. >> > >> > >> > Removing this hardcoded dependency would not break anything. Only the board >> > maintainers who want to get it built automatically would have to add it. >> >> But, that's most of them today. > > Sorry Tom, could you try harder to explain the reason, please? How many > boards are there in the upstream OE repository depending on this and > would have to be changed? I think Florian could commit that with his > clean up easily. With respect to boards that use omap3.inc today, nearly all of them use x-load as the between ROM and U-Boot program (I suspect conf/machine/include/palmpre.inc is working around this issue by setting a fake XLOAD_MACHINE). So instead of having a few machines say "now let me not build x-load" we have lots of machines saying "I should build x-load too". > On the other side developers opposing this clean up could at least offer > to add a comment to the file with a proposed work around for people > hitting this issue. Still there should be a good reason. Like all your > internal TI projects depend on this for example. Again, oe.dev isn't a really great place to do new work, oe-core+stuff is, and as Koen said, in meta-ti this is being cleaned up (in part because TI parts now don't use x-load as the middle step but a build of U-Boot called SPL as the middle step). Adding a comment to omap3.inc with what Koen said about opting out would make sense, yes. -- Tom ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-11-12 21:27 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-11-10 20:11 RFC: Clean up omap3.inc Florian Boor 2011-11-10 20:27 ` Koen Kooi 2011-11-10 20:54 ` Florian Boor 2011-11-10 21:55 ` Tom Rini 2011-11-12 10:28 ` Paul Menzel 2011-11-12 21:21 ` 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.