[Buildroot] [PATCH 4/8] flex: add flex-host package (required by webkit)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Nov 15 14:26:53 UTC 2009


Le Sun, 15 Nov 2009 11:12:53 +0100,
llandwerlin at gmail.com a écrit :

>  $(eval $(call AUTOTARGETS,package,flex))
> +$(eval $(call AUTOTARGETS,package,flex,host))

BTW, why do we need to build flex for the host ? flex is part of the
few tools that we consider to be a dependency of Buildroot.

In toolchain/dependencies/dependencies.sh, we check that a host flex is
available. This tool (along with bison) is anyway mandatory to build
the toolchain.

So :

 * Either we consider flex to be part of Buildroot dependencies and
   Webkit should not depend on host-flex ;

 * Or we don't consider flex to be part of the Buildroot dependencies
   and we should fix all packages and toolchain that use flex without
   depending on it.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list