* gcc-4.7.inc wrong FILESPATH setting?
@ 2012-12-14 16:41 Giuseppe Condorelli
2012-12-14 16:49 ` Marko Katić
0 siblings, 1 reply; 8+ messages in thread
From: Giuseppe Condorelli @ 2012-12-14 16:41 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hi All,
I've seen that, in the given .inc file, the FILESPATH is statically set to
FILESPATH = "${FILE_DIRNAME}/gcc-4.7"
This seems to avoid any FILESEXTRAPATHS_prepend usage on append file.
I need to add further patches for gcc-4.7.2 in my own meta layer but if I
set the FILESEXTRAPATHS_prepend as usual
nothing happens, sources are taken only from the directory set by FILESPATH.
Also I saw this setting was different in the past
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
Comments are welcome.
Cheers,
Giuseppe
[-- Attachment #2: Type: text/html, Size: 786 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-14 16:41 gcc-4.7.inc wrong FILESPATH setting? Giuseppe Condorelli @ 2012-12-14 16:49 ` Marko Katić 2012-12-14 16:58 ` Robert P. J. Day 0 siblings, 1 reply; 8+ messages in thread From: Marko Katić @ 2012-12-14 16:49 UTC (permalink / raw) To: openembedded-core On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > Hi All, > > I've seen that, in the given .inc file, the FILESPATH is statically > set to > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > This seems to avoid any FILESEXTRAPATHS_prepend usage on append file. > I need to add further patches for gcc-4.7.2 in my own meta layer but > if I set the FILESEXTRAPATHS_prepend as usual > nothing happens, sources are taken only from the directory set by > FILESPATH. > Also I saw this setting was different in the past > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" > > Comments are welcome. > Cheers, > Giuseppe > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core I can confirm this. I also have patches for gcc-4.7.2 in my personal layer and i also used FILESEXTRAPATHS_prepend in my bbappend files to add them. This used to work before but now it seems as though FILESEXTRAPATHS_prepend is being ignored. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-14 16:49 ` Marko Katić @ 2012-12-14 16:58 ` Robert P. J. Day 2012-12-14 17:07 ` Giuseppe Condorelli 0 siblings, 1 reply; 8+ messages in thread From: Robert P. J. Day @ 2012-12-14 16:58 UTC (permalink / raw) To: Marko Katić; +Cc: openembedded-core [-- Attachment #1: Type: TEXT/PLAIN, Size: 1736 bytes --] On Fri, 14 Dec 2012, Marko Katić wrote: > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > Hi All, > > > > I've seen that, in the given .inc file, the FILESPATH is statically > > set to > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on append file. > > I need to add further patches for gcc-4.7.2 in my own meta layer but > > if I set the FILESEXTRAPATHS_prepend as usual > > nothing happens, sources are taken only from the directory set by > > FILESPATH. > > Also I saw this setting was different in the past > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" i'm fairly sure i posted on this recently. base.bbclass *explicitly* sets FILESPATH to a set of variations thusly: FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" which works fine with the recipes in the underlying oe-core layer. however, when you use FILESEXTRAPATHS_prepend, you get additional directories based on *only* the name you specify. so if you do: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" are you thinking you should also get all variations of "gcc-4.7"? because that's not what's going to happen. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-14 16:58 ` Robert P. J. Day @ 2012-12-14 17:07 ` Giuseppe Condorelli 2012-12-14 17:09 ` Robert P. J. Day 0 siblings, 1 reply; 8+ messages in thread From: Giuseppe Condorelli @ 2012-12-14 17:07 UTC (permalink / raw) To: Robert P. J. Day; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2342 bytes --] 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > On Fri, 14 Dec 2012, Marko Katić wrote: > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > > Hi All, > > > > > > I've seen that, in the given .inc file, the FILESPATH is statically > > > set to > > > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on append file. > > > I need to add further patches for gcc-4.7.2 in my own meta layer but > > > if I set the FILESEXTRAPATHS_prepend as usual > > > nothing happens, sources are taken only from the directory set by > > > FILESPATH. > > > Also I saw this setting was different in the past > > > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" > > i'm fairly sure i posted on this recently. base.bbclass > *explicitly* sets FILESPATH to a set of variations thusly: > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" > > which works fine with the recipes in the underlying oe-core layer. > > however, when you use FILESEXTRAPATHS_prepend, you get additional > directories based on *only* the name you specify. so if you do: > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > are you thinking you should also get all variations of "gcc-4.7"? > because that's not what's going to happen. > > I'm sorry, I've not catched your last sentence. I set (as in the past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:" also updating the SRC_URI inside the .bbappend file to use the sources available in the gcc directory available in my own layer. > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > > [-- Attachment #2: Type: text/html, Size: 3650 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-14 17:07 ` Giuseppe Condorelli @ 2012-12-14 17:09 ` Robert P. J. Day 2012-12-17 13:51 ` Giuseppe Condorelli 0 siblings, 1 reply; 8+ messages in thread From: Robert P. J. Day @ 2012-12-14 17:09 UTC (permalink / raw) To: Giuseppe Condorelli; +Cc: openembedded-core [-- Attachment #1: Type: TEXT/PLAIN, Size: 2331 bytes --] On Fri, 14 Dec 2012, Giuseppe Condorelli wrote: > > > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > On Fri, 14 Dec 2012, Marko Katić wrote: > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > > Hi All, > > > > > > I've seen that, in the given .inc file, the FILESPATH is statically > > > set to > > > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on append file. > > > I need to add further patches for gcc-4.7.2 in my own meta layer but > > > if I set the FILESEXTRAPATHS_prepend as usual > > > nothing happens, sources are taken only from the directory set by > > > FILESPATH. > > > Also I saw this setting was different in the past > > > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" > > i'm fairly sure i posted on this recently. base.bbclass > *explicitly* sets FILESPATH to a set of variations thusly: > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" > > which works fine with the recipes in the underlying oe-core layer. > > however, when you use FILESEXTRAPATHS_prepend, you get additional > directories based on *only* the name you specify. so if you do: > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > are you thinking you should also get all variations of "gcc-4.7"? > because that's not what's going to happen. > > I'm sorry, I've not catched your last sentence. I set (as in the > past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > also updating the SRC_URI inside the .bbappend file to use the > sources available in the gcc directory available in my own layer. did you also set THISDIR just above that? rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-14 17:09 ` Robert P. J. Day @ 2012-12-17 13:51 ` Giuseppe Condorelli 2012-12-19 10:45 ` Paul Eggleton 0 siblings, 1 reply; 8+ messages in thread From: Giuseppe Condorelli @ 2012-12-17 13:51 UTC (permalink / raw) To: Robert P. J. Day; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2555 bytes --] 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > On Fri, 14 Dec 2012, Giuseppe Condorelli wrote: > > > > > > > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > > On Fri, 14 Dec 2012, Marko Katić wrote: > > > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > > > Hi All, > > > > > > > > I've seen that, in the given .inc file, the FILESPATH is > statically > > > > set to > > > > > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on > append file. > > > > I need to add further patches for gcc-4.7.2 in my own meta > layer but > > > > if I set the FILESEXTRAPATHS_prepend as usual > > > > nothing happens, sources are taken only from the directory set > by > > > > FILESPATH. > > > > Also I saw this setting was different in the past > > > > > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' > ], d)}" > > > > i'm fairly sure i posted on this recently. base.bbclass > > *explicitly* sets FILESPATH to a set of variations thusly: > > > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" > > > > which works fine with the recipes in the underlying oe-core layer. > > > > however, when you use FILESEXTRAPATHS_prepend, you get additional > > directories based on *only* the name you specify. so if you do: > > > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > > > are you thinking you should also get all variations of "gcc-4.7"? > > because that's not what's going to happen. > > > > I'm sorry, I've not catched your last sentence. I set (as in the > > past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > > also updating the SRC_URI inside the .bbappend file to use the > > sources available in the gcc directory available in my own layer. > > did you also set THISDIR just above that? > No, I don't set it. Is it necessary now? > > rday > > -- > > ======================================================================== > Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > > Twitter: http://twitter.com/rpjday > LinkedIn: http://ca.linkedin.com/in/rpjday > ======================================================================== > [-- Attachment #2: Type: text/html, Size: 3934 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-17 13:51 ` Giuseppe Condorelli @ 2012-12-19 10:45 ` Paul Eggleton 2013-01-04 8:32 ` Giuseppe Condorelli 0 siblings, 1 reply; 8+ messages in thread From: Paul Eggleton @ 2012-12-19 10:45 UTC (permalink / raw) To: Giuseppe Condorelli; +Cc: openembedded-core On Monday 17 December 2012 14:51:59 Giuseppe Condorelli wrote: > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > > > On Fri, 14 Dec 2012, Giuseppe Condorelli wrote: > > > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > > > > > > On Fri, 14 Dec 2012, Marko Katić wrote: > > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > > > > Hi All, > > > > > > > > > > I've seen that, in the given .inc file, the FILESPATH is > > > > statically > > > > > > > set to > > > > > > > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > > > > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on > > > > append file. > > > > > > > I need to add further patches for gcc-4.7.2 in my own meta > > > > layer but > > > > > > > if I set the FILESEXTRAPATHS_prepend as usual > > > > > nothing happens, sources are taken only from the directory set > > > > by > > > > > > > FILESPATH. > > > > > Also I saw this setting was different in the past > > > > > > > > > > FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' > > > > ], d)}" > > > > > i'm fairly sure i posted on this recently. base.bbclass > > > > > > *explicitly* sets FILESPATH to a set of variations thusly: > > > > > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", > > > > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" > > > > > which works fine with the recipes in the underlying oe-core layer. > > > > > > however, when you use FILESEXTRAPATHS_prepend, you get additional > > > > > > directories based on *only* the name you specify. so if you do: > > > > > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > > > > > are you thinking you should also get all variations of "gcc-4.7"? > > > because that's not what's going to happen. > > > > > > I'm sorry, I've not catched your last sentence. I set (as in the > > > past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > > > also updating the SRC_URI inside the .bbappend file to use the > > > sources available in the gcc directory available in my own layer. > > > > > did you also set THISDIR just above that? > > No, I don't set it. Is it necessary now? No, THISDIR is set automatically, you should not set it yourself. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: gcc-4.7.inc wrong FILESPATH setting? 2012-12-19 10:45 ` Paul Eggleton @ 2013-01-04 8:32 ` Giuseppe Condorelli 0 siblings, 0 replies; 8+ messages in thread From: Giuseppe Condorelli @ 2013-01-04 8:32 UTC (permalink / raw) To: Paul Eggleton; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 3013 bytes --] Hi Paul and all, coming back to this discussion.... It seems that setting FILESPATH in the gcc .inc file doesn't allow system to recognize the FILESEXTRAPATHS_prepend setting in the append file. I'm wondering if you can test this scenario, maybe creating a gcc append recipe to add a dummy file in the SRC_URI list. Cheers, Giuseppe 2012/12/19 Paul Eggleton <paul.eggleton@linux.intel.com> > On Monday 17 December 2012 14:51:59 Giuseppe Condorelli wrote: > > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > > > > > On Fri, 14 Dec 2012, Giuseppe Condorelli wrote: > > > > 2012/12/14 Robert P. J. Day <rpjday@crashcourse.ca> > > > > > > > > On Fri, 14 Dec 2012, Marko Katić wrote: > > > > > On Fri, 2012-12-14 at 17:41 +0100, Giuseppe Condorelli wrote: > > > > > > Hi All, > > > > > > > > > > > > I've seen that, in the given .inc file, the FILESPATH is > > > > > > statically > > > > > > > > > set to > > > > > > > > > > > > FILESPATH = "${FILE_DIRNAME}/gcc-4.7" > > > > > > > > > > > > This seems to avoid any FILESEXTRAPATHS_prepend usage on > > > > > > append file. > > > > > > > > > I need to add further patches for gcc-4.7.2 in my own meta > > > > > > layer but > > > > > > > > > if I set the FILESEXTRAPATHS_prepend as usual > > > > > > nothing happens, sources are taken only from the directory > set > > > > > > by > > > > > > > > > FILESPATH. > > > > > > Also I saw this setting was different in the past > > > > > > > > > > > > FILESPATH = "${@base_set_filespath([ > '${FILE_DIRNAME}/gcc-4.7' > > > > > > ], d)}" > > > > > > > i'm fairly sure i posted on this recently. base.bbclass > > > > > > > > *explicitly* sets FILESPATH to a set of variations thusly: > > > > > > > > FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", > > > > > > "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files"], d)}" > > > > > > > which works fine with the recipes in the underlying oe-core layer. > > > > > > > > however, when you use FILESEXTRAPATHS_prepend, you get additional > > > > > > > > directories based on *only* the name you specify. so if you do: > > > > > > > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > > > > > > > are you thinking you should also get all variations of "gcc-4.7"? > > > > because that's not what's going to happen. > > > > > > > > I'm sorry, I've not catched your last sentence. I set (as in the > > > > past) the FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > > > > also updating the SRC_URI inside the .bbappend file to use the > > > > sources available in the gcc directory available in my own layer. > > > > > > > did you also set THISDIR just above that? > > > > No, I don't set it. Is it necessary now? > > No, THISDIR is set automatically, you should not set it yourself. > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > [-- Attachment #2: Type: text/html, Size: 4529 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-01-04 8:47 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-12-14 16:41 gcc-4.7.inc wrong FILESPATH setting? Giuseppe Condorelli 2012-12-14 16:49 ` Marko Katić 2012-12-14 16:58 ` Robert P. J. Day 2012-12-14 17:07 ` Giuseppe Condorelli 2012-12-14 17:09 ` Robert P. J. Day 2012-12-17 13:51 ` Giuseppe Condorelli 2012-12-19 10:45 ` Paul Eggleton 2013-01-04 8:32 ` Giuseppe Condorelli
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox