summaryrefslogtreecommitdiffhomepage
path: root/vars/install_strip_host.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/install_strip_host.vars')
-rw-r--r--vars/install_strip_host.vars24
1 files changed, 0 insertions, 24 deletions
diff --git a/vars/install_strip_host.vars b/vars/install_strip_host.vars
deleted file mode 100644
index 668ebff2..00000000
--- a/vars/install_strip_host.vars
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# set +o errexit -o noglob -o nounset is assumed.
-#
-
-pkg_install_strip_host_all() {
- if [ -e "${PREFIX}/bin/${PKG_TARGET}-install-strip" ]\
- && ! rtl_fileop rm "${PREFIX}/bin/${PKG_TARGET}-install-strip"; then
- return 1;
- fi;
- if ! rtl_fileop mkdir "${PREFIX}/bin" \
- || ! cat > "${PREFIX}/bin/${PKG_TARGET}-install-strip" <<EOF
-#!/bin/sh
-install -s "\${@}";
-EOF
- then
- return 1;
- elif ! rtl_fileop chmod +x "${PREFIX}/bin/${PKG_TARGET}-install-strip"; then
- return 1;
- else
- ex_pkg_state_set "${PKG_NAME}" finish;
- fi;
-};
-
-# vim:filetype=sh textwidth=0