| checking for flex... flex | checking lex output file root... lex.yy | checking lex library... none needed | checking whether yytext is a pointer... no | checking for bison... (cached) bison | checking whether make sets $(MAKE)... (cached) yes | checking whether ln -s works... yes | configure: error: flex is too old. GRUB requires 2.5.35 or above | ERROR: oe_runconf failed | ERROR: Function failed: do_configure (see /buildarea/xouyang/x86_std/bitbake_build/tmp/work/i686-wrs-linux/grub-1.99-r9/temp/do_configure/log.do_configure.23260 for further information) NOTE: package grub-1.99-r9: task do_configure: Failed ERROR: Task 6 (/buildarea/xouyang/x86_std/layers/oe-core/meta/recipes-bsp/grub/grub_1.99.bb, do_configure) failed with exit code '1' So, should add flex-native to DEPENDS.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-bsp/grub?id=528d5e147891076abce6dd1013712572441fa3b7
Verified in master: commit e421e95de0ce430cc2c6db9b0712a66ab96288a1 Date: Fri Nov 2 16:17:07 2012 +0000 using "#bitbake grub" flex_2.5.35-r3 was built using poky/meta/recipes-devtools/flex/flex_2.5.35.bb