[OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

Yuanjie Huang yuanjie.huang at windriver.com
Wed Nov 23 03:22:20 UTC 2016


Hi Raj,

We observed gdb/ada-lex.l is processed by flex while gdb/c-exp.y, 
gdb/f-exp.y, gdb/go-exp.y and many others are handled by bison. 
Basically, all language-specific codes in gdb are generated.

Best,
Yuanjie

On 11/23/2016 11:05 AM, Khem Raj wrote:
>> On Nov 22, 2016, at 6:00 PM, Yuanjie Huang <Yuanjie.Huang at windriver.com> wrote:
>>
>> From: Yuanjie Huang <yuanjie.huang at windriver.com>
>>
>> Some source code of gdb is generated with flex or bison. Make both
>> dependencies, to avoid compilation failure on host without them.
>
> can you find out which parts those are ? what is it trying to do to need flex/yacc
>> Signed-off-by: Yuanjie Huang <yuanjie.huang at windriver.com>
>> ---
>> meta/recipes-devtools/gdb/gdb-cross.inc | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc b/meta/recipes-devtools/gdb/gdb-cross.inc
>> index 5fa7c33..a34223e 100644
>> --- a/meta/recipes-devtools/gdb/gdb-cross.inc
>> +++ b/meta/recipes-devtools/gdb/gdb-cross.inc
>> @@ -1,6 +1,6 @@
>> require gdb-common.inc
>>
>> -DEPENDS = "expat-native ncurses-native"
>> +DEPENDS = "expat-native ncurses-native flex-native bison-native"
>>
>> inherit python3native
>>
>> -- 
>> 2.7.4
>>
>> -- 
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list