diff options
author | Scott Garman <scott.a.garman@intel.com> | 2010-12-07 20:59:06 -0800 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2011-01-14 12:07:29 +0000 |
commit | 54f08d23cd7d0de6aec31f4764389ff4dab2990d (patch) | |
tree | 1514e13c646a2c22031a0c2a75a2602ea4fae47e /scripts/poky-find-native-sysroot | |
parent | 8a3d0f375ce416ada1a5443e4a8e467504001beb (diff) | |
download | poky-54f08d23cd7d0de6aec31f4764389ff4dab2990d.tar.gz |
Make poky-qemu and related scripts work with arbitrary SDK locations
* No longer assume SDK toolchains are installed in /opt/poky
* [BUGFIX #568] where specifying paths to both the kernel and fs
image caused an error due to POKY_NATIVE_SYSROOT never being
set, triggering failure of poky-qemu-ifup/ifdown
* Cosmetic improvements to usage() functions by using basename
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'scripts/poky-find-native-sysroot')
-rwxr-xr-x | scripts/poky-find-native-sysroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/poky-find-native-sysroot b/scripts/poky-find-native-sysroot index d8002f963e..226229421c 100755 --- a/scripts/poky-find-native-sysroot +++ b/scripts/poky-find-native-sysroot | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | # Find a native sysroot to use - either from an in-tree Poky build or | 3 | # Find a native sysroot to use - either from an in-tree Poky build or |
4 | # from a toolchain installation in /opt/poky. It then ensures the variable | 4 | # from a toolchain installation. It then ensures the variable |
5 | # $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets | 5 | # $POKY_NATIVE_SYSROOT is set to the sysroot's base directory, and sets |
6 | # $PSEUDO to the path of the pseudo binary. | 6 | # $PSEUDO to the path of the pseudo binary. |
7 | # | 7 | # |