X-Git-Url: https://git.kernelconcepts.de/?p=meta-kc-bsp.git;a=blobdiff_plain;f=setup-environment;h=59df53de20a8d273903d537b1f0aa0a6478cfb19;hp=1b95c5ad33f6b01e88fb54136eba34a5f42036f0;hb=6df2e3a5669c9ed42e35c4baf72c35a4f066da4b;hpb=f82e6575acb6ac8e56bf30b73581ae287076552b diff --git a/setup-environment b/setup-environment index 1b95c5a..59df53d 100755 --- a/setup-environment +++ b/setup-environment @@ -163,7 +163,7 @@ if [ "$build_dir_setup_enabled" = "true" ]; then DL_DIR ?= "\${BSPDIR}/downloads/" EOF # Change settings according environment - sed -e "s,MACHINE ??=.*,MACHINE ??= '$MACHINE',g" \ + sed -e "s,^ *MACHINE ?=.*,MACHINE ?= '$MACHINE',g" \ -e "s,DISTRO ?=.*,DISTRO ?= '$DISTRO',g" \ -i conf/local.conf