From 15d15395924d90e344ba74aeed7b0971959272c0 Mon Sep 17 00:00:00 2001 From: Esben Haabendal Date: Mon, 22 Feb 2016 14:31:29 +0100 Subject: [PATCH] gcc: Add support for machine builds Signed-off-by: Esben Haabendal --- recipes/gcc/gcc.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/gcc/gcc.inc b/recipes/gcc/gcc.inc index 46015d10..fc6f1b3a 100644 --- a/recipes/gcc/gcc.inc +++ b/recipes/gcc/gcc.inc @@ -8,7 +8,12 @@ FILESPATHPKG = "${P}:${PN}" require gcc-common.inc -RECIPE_TYPES = "cross sdk-cross canadian-cross" +RECIPE_TYPES = "cross sdk-cross canadian-cross machine" + +# Avoid conflicts between machine (sysroot) packages from cross:gcc, +# using the cross:gcc provided ones so we don't have to build machine:gcc +# unless really neeed. +PRIORITY:machine = "-1" # Use gcc-bootstrap as target-compiler C_DEPENDS_TARGET = "target-cross:gcc-bootstrap"