diff options
author | Joe MacDonald <joe.macdonald@windriver.com> | 2013-08-01 10:29:19 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-03 10:33:12 +0100 |
commit | 0224cb2de529732f5b2caca04c4c673e63f1d6e3 (patch) | |
tree | 29ff0e17b5671036d79c43cb288decc37d40782c | |
parent | 596a3b61c9ed4fc57dbeb33d2e2a7491364f6d78 (diff) | |
download | poky-0224cb2de529732f5b2caca04c4c673e63f1d6e3.tar.gz |
oe-find-native-sysroot: minor optimization
The middle 'cut' in OECORE_NATIVE_SYSROOT isn't doing anything useful, so
remove it from the pipeline.
(From OE-Core rev: 94495c5a11d31e258a42cabb5ca1487421fe5495)
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/oe-find-native-sysroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index 9df9b44f42..81d62b8882 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot | |||
@@ -40,10 +40,10 @@ if [ "x$OECORE_NATIVE_SYSROOT" = "x" ]; then | |||
40 | exit 1 | 40 | exit 1 |
41 | fi | 41 | fi |
42 | touch conf/sanity.conf | 42 | touch conf/sanity.conf |
43 | OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` | 43 | OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '"' -f2` |
44 | rm -f conf/sanity.conf | 44 | rm -f conf/sanity.conf |
45 | else | 45 | else |
46 | OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '=' -f2 | cut -d '"' -f2` | 46 | OECORE_NATIVE_SYSROOT=`bitbake -e | grep ^STAGING_DIR_NATIVE | cut -d '"' -f2` |
47 | fi | 47 | fi |
48 | else | 48 | else |
49 | echo "Error: Unable to locate bitbake command." | 49 | echo "Error: Unable to locate bitbake command." |