pcmciautils: fix build to use flex from sysroots, not from host
Hi
This commit
commit c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author: Dmitry Eremin-Solenikov <[email protected]> AuthorDate: Fri Jun 4 16:26:17 2010 +0400 Commit: Dmitry Eremin-Solenikov <[email protected]> CommitDate: Fri Jun 4 16:44:18 2010 +0400
pcmciautils: fix build to use flex from sysroots, not from host
breaks the build when I have flex-native in ASSUME_PROVIDED. It there any specific reason why one should use flex from hosted sysroot ? is the flex package on all distribution broken for some reason ?
Thanks
-Khem
Hello,
Quoted 10 lines · Khem Raj
Hi
This commit
commit
c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author: Dmitry Eremin-Solenikov <[email protected]>
AuthorDate: Fri Jun 4 16:26:17 2010 +0400
Commit: Dmitry Eremin-Solenikov <[email protected]>
CommitDate: Fri Jun 4 16:44:18 2010 +0400
Quoted 8 lines
pcmciautils: fix build to use flex from sysroots, not from host
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>breaks the build when I have flex-native in
ASSUME_PROVIDED. It there any specific reason why one should use flex from hosted sysroot ? is the flex package on all distribution broken for some reason ?
Then we either:
1) have to put flex in prerequisites, check it in sanity.bbclass (and drop flex-native)
2) have to fix pcmciautils to detect path to flex
3) expand some class to autodetect the flex/bison/etc. programs
Because currently pcmciautils just failed for me because I was building them on the box where I had no flex installed, but build (via some other dependancy) in OE sysroot.
Signature · 2 lines
With best wishes Dmitry
Quoted 28 lines · Dmitry Eremin-Solenikov
Hello,
Quoted 10 lines · Khem Raj
Hi
This commit
commit
c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author: Dmitry Eremin-Solenikov <[email protected]>
AuthorDate: Fri Jun 4 16:26:17 2010 +0400
Commit: Dmitry Eremin-Solenikov <[email protected]>
CommitDate: Fri Jun 4 16:44:18 2010 +0400Quoted 8 lines
pcmciautils: fix build to use flex from sysroots, not from host
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>breaks the build when I have flex-native in
ASSUME_PROVIDED. It there any specific reason why one should use flex from hosted sysroot ? is the flex package on all distribution broken for some reason ?Then we either:
1) have to put flex in prerequisites, check it in sanity.bbclass (and drop flex-native)
2) have to fix pcmciautils to detect path to flex
3) expand some class to autodetect the flex/bison/etc. programs
Quoted 3 lines
Because currently pcmciautils just failed for me because I was building them on the box where I had no flex installed, but build (via some other dependancy) in OE sysroot.
Well then you only need it in DEPENDS of pcmciautils thats all and not hardcode it
Quoted 5 lines
--
With best wishes
Dmitry
Hello,
Quoted 30 lines · Khem Raj
Quoted 28 lines · Dmitry Eremin-Solenikov
Hello,
Quoted 10 lines · Khem Raj
Hi
This commit
commit
c65ee13298e8c22274b5bcabe06f2116b8b7ebf2
Author: Dmitry Eremin-Solenikov <[email protected]>
AuthorDate: Fri Jun 4 16:26:17 2010 +0400
Commit: Dmitry Eremin-Solenikov <[email protected]>
CommitDate: Fri Jun 4 16:44:18 2010 +0400Quoted 8 lines
pcmciautils: fix build to use flex from sysroots, not from host
Signed-off-by Dmitry Eremin-Solenikov <[email protected]>breaks the build when I have flex-native in
ASSUME_PROVIDED. It there any specific reason why one should use flex from hosted sysroot ? is the flex package on all distribution broken for some reason ?Then we either:
1) have to put flex in prerequisites, check it in sanity.bbclass (and drop flex-native)
2) have to fix pcmciautils to detect path to flex
3) expand some class to autodetect the flex/bison/etc. programs
Quoted 6 lines
Quoted 3 lines
Because currently pcmciautils just failed for me because I was building them on the box where I had no flex installed, but build (via some other dependancy) in OE sysroot.
Well then you only need it in DEPENDS of pcmciautils thats all and not hardcode it
Fine with me. I'm commiting a patch which will drop the hardcoded path and use just
LEX=flex. That should be fine for both our cases, shan't it?
Quoted 8 lines
Quoted 7 lines
--
With best wishes
Dmitry
Signature · 2 lines
With best wishes Dmitry