[yocto] [meta-selinux][PATCH] setools: Add bison and flex to DEPENDS

Mark Hatle mark.hatle at windriver.com
Thu May 22 06:56:14 PDT 2014


On 5/21/14, 10:28 PM, Chong Lu wrote:
> Avoid policy_scan.c: No such file or directory
>
> Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
> ---
>   recipes-security/setools/setools_3.3.8.bb |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-security/setools/setools_3.3.8.bb b/recipes-security/setools/setools_3.3.8.bb
> index 1e95a60..3425064 100644
> --- a/recipes-security/setools/setools_3.3.8.bb
> +++ b/recipes-security/setools/setools_3.3.8.bb
> @@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=26035c503c68ae1098177934ac0cc795 \
>                       file://${S}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
>                       file://${S}/COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24"
>
> -DEPENDS += "python libsepol libselinux libxml2"
> +DEPENDS += "bison flex python libsepol libselinux libxml2"

I suspect the above is incorrect, shouldn't this be "bison-native" (or 
"bison-native bison")?

During cross compilation, it's the native bison that produces the .c code.

--Mark

>
>   PACKAGE_BEFORE_PN += "${PN}-libs"
>
>




More information about the yocto mailing list