1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

Fix MACHINE setting in start script

The current MACHINE setting could be different than when bitbake was
originally run, thus causing an error when the start scripts are run.
Set the MACHINE in each bitbake command call to get around this.

Change-Id: I778b58d751ea0ddbcac6d73f347e6861edcf1ecf
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2020-02-18 16:59:45 -05:00
committed by Jon Mason
parent 11233ba158
commit ae19998d27
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ set -u
set -e
# Get parameters from bitbake configuration
source <(bitbake -e foundation-armv8-native | grep \
source <(MACHINE=foundation-armv8 bitbake -e foundation-armv8-native | grep \
-e "^STAGING_.*_NATIVE=" \
-e "^DEPLOY_DIR.*=")

View File

@@ -5,7 +5,7 @@ set -u
set -e
# Get parameters from bitbake configuration
source <(bitbake -e fvp-base-native | grep \
source <(MACHINE=fvp-base bitbake -e fvp-base-native | grep \
-e "^STAGING_.*_NATIVE=" \
-e "^DEPLOY_DIR.*=")