When a build dir is already configured, using '. ./setup-environment build' will display: "Configuring for imx6qsabresd" and "Your configuration files at build have not been touched." which is contradictory.
So test for an existing configuration before displaying the machine Signed-off-by: Alexandre Belloni <[email protected]> --- setup-environment | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup-environment b/setup-environment index a4b211657072..17adf15628b7 100644 --- a/setup-environment +++ b/setup-environment @@ -91,7 +91,9 @@ if [ "x$MACHINE" = "x" ] || [ "$VALID_MACHINE" = "0" ]; then usage && clean_up return 1 else - echo "Configuring for ${MACHINE}" + if [ ! -e $1/conf/local.conf.sample ]; then + echo "Configuring for ${MACHINE}" + fi fi if [ -z "$SDKMACHINE" ]; then -- 1.9.1 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
