Created
July 16, 2014 19:23
-
-
Save mfleming/3a22a98754ca5ad63315 to your computer and use it in GitHub Desktop.
biosdir fixup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/scripts/runqemu b/scripts/runqemu | |
index b1d2d1a..aa8a8b9 100755 | |
--- a/scripts/runqemu | |
+++ b/scripts/runqemu | |
@@ -494,13 +494,13 @@ fi | |
# Specify directory for BIOS, VGA BIOS and keymaps | |
if [ ! -z "$CUSTOMBIOSDIR" ]; then | |
- if [ -d "$OECORE_NATIVE_SYSROOT/$CUSTOMBIOSDIR" ]; then | |
- echo "Assuming biosdir is $OECORE_NATIVE_SYSROOT/$CUSTOMBIOSDIR" | |
- SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -L $OECORE_NATIVE_SYSROOT/$CUSTOMBIOSDIR" | |
+ if [ -d "$OE_TMPDIR/sysroots/$MACHINE/$CUSTOMBIOSDIR" ]; then | |
+ echo "Assuming biosdir is $OE_TMPDIR/sysroots/$MACHINE/$CUSTOMBIOSDIR" | |
+ SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -L $OE_TMPDIR/sysroots/$MACHINE/$CUSTOMBIOSDIR" | |
else | |
if [ ! -d "$CUSTOMBIOSDIR" ]; then | |
echo "Custom BIOS directory not found. Tried: $CUSTOMBIOSDIR" | |
- echo "and $OECORE_NATIVE_SYSROOT/$CUSTOMBIOSDIR" | |
+ echo "and $OE_TMPDIR/sysroots/$MACHINE/$CUSTOMBIOSDIR" | |
exit 1; | |
fi | |
echo "Assuming biosdir is $CUSTOMBIOSDIR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment