diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 04:25:20 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-02-03 04:25:20 +0100 |
commit | 7fe25dbd38d2c08abdef9db1ec9cb61122b54da5 (patch) | |
tree | 5343bcf128ff5cff1d5a86c612c4632029b05bbf /subr/pkg_setup.subr | |
parent | f539a4f6f6e2865d20f6fa6129e8c5315c3eafa1 (diff) | |
download | midipix_build-7fe25dbd38d2c08abdef9db1ec9cb61122b54da5.tar.bz2 midipix_build-7fe25dbd38d2c08abdef9db1ec9cb61122b54da5.tar.xz |
build.sh, subr/pkg_setup_env.subr: renamed build step `setup' to `setup_env.'
Diffstat (limited to 'subr/pkg_setup.subr')
-rw-r--r-- | subr/pkg_setup.subr | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/subr/pkg_setup.subr b/subr/pkg_setup.subr deleted file mode 100644 index 0ee60bb7..00000000 --- a/subr/pkg_setup.subr +++ /dev/null @@ -1,36 +0,0 @@ -# -# . ./build.vars and set -o errexit -o noglob are assumed. -# See warning at the top of build.vars. -# - -pkg_setup() { - PKG_SUBDIR_PATH=${PWD}/${PKG_SUBDIR#/}; - if [ -z "${PKG_CONFIGURE}" ]; then - PKG_CONFIGURE=${PKG_SUBDIR_PATH}/configure; - else - PKG_CONFIGURE=${PWD}/${PKG_CONFIGURE#/}; - fi; - if [ "${PKG_BUILD_TYPE}" = "host" ]; then - export AR=ar; - export CC=gcc; - export CXX=g++; - export RANLIB=ranlib; - else - export AR=${PKG_TARGET}-ar; - export CC=${PKG_TARGET}-gcc; - export CXX=${PKG_TARGET}-g++; - export RANLIB=${PKG_TARGET}-ranlib; - fi; - if [ -x ${PKG_CONFIGURE} ]; then - export CFLAGS_FOR_BUILD="${HOST_TOOLCHAIN_CFLAGS_CONFIGURE_DEFAULT}"; - else - __no_autoconf=1; - fi; - if [ "${PKG_SLIBTOOL}" != "default" ]; then - export MAKE="make LIBTOOL=${PKG_SLIBTOOL:-slibtool}"; - fi; - cd ${PKG_BUILD_DIR}; - set_build_script_done setup distclean -configure; -}; - -# vim:filetype=sh |