* Bitbake override style removal with variable expansion
@ 2016-02-10 13:33 Shuang Liu
2016-02-10 15:28 ` Liu, Shuang (ADITG/SW2)
2016-02-14 11:05 ` Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Shuang Liu @ 2016-02-10 13:33 UTC (permalink / raw)
To: bitbake-devel; +Cc: sliu
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
Hi,
I face a problem that I tried to use the bitbake override style removal
with variable expansion.
I have a foo.bb and set FOO_PACKAGES = "${PN}_dummy"
And I use a foo.bbappend to remove it by FOO_PACKAGES_remove = "${PN}_dummy"
This doesn't work.
However, FOO_PACKAGES_remove = "foo_dummy" works fine.
Furthermore I tried other variable names besides PN, e.g.
FOO_PACKAGES = "foo_dummy"
FOONAME = "foo"
FOO_PACKAGES_remove = "${FOONAME}_dummy"
This doesn't works either.
So maybe there is some issue with variable expansion in the override style
removal?
I use bitbake 1.22 and am sorry I cannot test the master branch on my
working environment.
BitBake Build Tool Core version 1.22.0, bitbake version 1.22.0
Does somebody have some idea about thie behavior?
I am a bitbake rookie and please forgive me if the question is not
reasonable.
Thank you very much
Shuang :-
[-- Attachment #2: Type: text/html, Size: 1271 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bitbake override style removal with variable expansion
2016-02-10 13:33 Bitbake override style removal with variable expansion Shuang Liu
@ 2016-02-10 15:28 ` Liu, Shuang (ADITG/SW2)
2016-02-14 11:05 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Liu, Shuang (ADITG/SW2) @ 2016-02-10 15:28 UTC (permalink / raw)
To: Shuang Liu, bitbake-devel
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
It seems that my original mail is not arrived.
Please ignore this email if you’ve received my previous one.
Cheers,
Shuang
From: Shuang Liu [mailto:shuangistan@gmail.com]
Sent: Mittwoch, 10. Februar 2016 14:34
To: bitbake-devel@lists.openembedded.org
Cc: Liu, Shuang (ADITG/SW2)
Subject: Bitbake override style removal with variable expansion
Hi,
I face a problem that I tried to use the bitbake override style removal with variable expansion.
I have a foo.bb and set FOO_PACKAGES = "${PN}_dummy"
And I use a foo.bbappend to remove it by FOO_PACKAGES_remove = "${PN}_dummy"
This doesn't work.
However, FOO_PACKAGES_remove = "foo_dummy" works fine.
Furthermore I tried other variable names besides PN, e.g.
FOO_PACKAGES = "foo_dummy"
FOONAME = "foo"
FOO_PACKAGES_remove = "${FOONAME}_dummy"
This doesn't works either.
So maybe there is some issue with variable expansion in the override style removal?
I use bitbake 1.22 and am sorry I cannot test the master branch on my working environment.
BitBake Build Tool Core version 1.22.0, bitbake version 1.22.0
Does somebody have some idea about thie behavior?
I am a bitbake rookie and please forgive me if the question is not reasonable.
Thank you very much
Shuang :-
[-- Attachment #2: Type: text/html, Size: 5653 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bitbake override style removal with variable expansion
2016-02-10 13:33 Bitbake override style removal with variable expansion Shuang Liu
2016-02-10 15:28 ` Liu, Shuang (ADITG/SW2)
@ 2016-02-14 11:05 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2016-02-14 11:05 UTC (permalink / raw)
To: Shuang Liu, bitbake-devel; +Cc: sliu
On Wed, 2016-02-10 at 14:33 +0100, Shuang Liu wrote:
> I face a problem that I tried to use the bitbake override style
> removal with variable expansion.
>
> I have a foo.bb and set FOO_PACKAGES = "${PN}_dummy"
> And I use a foo.bbappend to remove it by FOO_PACKAGES_remove =
> "${PN}_dummy"
> This doesn't work.
>
> However, FOO_PACKAGES_remove = "foo_dummy" works fine.
>
> Furthermore I tried other variable names besides PN, e.g.
> FOO_PACKAGES = "foo_dummy"
> FOONAME = "foo"
> FOO_PACKAGES_remove = "${FOONAME}_dummy"
> This doesn't works either.
>
> So maybe there is some issue with variable expansion in the override
> style removal?
>
> I use bitbake 1.22 and am sorry I cannot test the master branch on my
> working environment.
> BitBake Build Tool Core version 1.22.0, bitbake version 1.22.0
>
> Does somebody have some idea about thie behavior?
>
> I am a bitbake rookie and please forgive me if the question is not
> reasonable.
This was answered on stackoverflow:
http://stackoverflow.com/questions/35336111/bitbake-override-style-removal-with-variable-expansion
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-14 11:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 13:33 Bitbake override style removal with variable expansion Shuang Liu
2016-02-10 15:28 ` Liu, Shuang (ADITG/SW2)
2016-02-14 11:05 ` Richard Purdie
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.