aboutsummaryrefslogtreecommitdiffstats
path: root/tools/cross-install
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-11 10:49:57 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-11 10:49:57 +0100
commitb904b98221d30f2962f4372b9dfea06554b621b5 (patch)
tree1f8ea89758412b30631c0d27d2105d6d564b8a02 /tools/cross-install
parent570d530d68880592db3062aa353cbaf12047158d (diff)
downloadxen-b904b98221d30f2962f4372b9dfea06554b621b5.tar.gz
xen-b904b98221d30f2962f4372b9dfea06554b621b5.tar.bz2
xen-b904b98221d30f2962f4372b9dfea06554b621b5.zip
tools build: add cross-install to find the right "strip"
Signed-off-by: Aron Griffis <aron@hp.com>
Diffstat (limited to 'tools/cross-install')
-rwxr-xr-xtools/cross-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/cross-install b/tools/cross-install
new file mode 100755
index 0000000000..2b67bb34cf
--- /dev/null
+++ b/tools/cross-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# prepend CROSS_BIN_PATH to find the right "strip"
+if [ -n "$CROSS_BIN_PATH" ]; then
+ PATH="$CROSS_BIN_PATH:$PATH"
+fi
+
+exec install "$@"