From c497546f591a3cc128abda42d0026c46ffdd6c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sat, 6 Feb 2016 16:47:09 +0100 Subject: - Refactored package building procedure into build.vars. - Changed build directory name format to $[1}-{cross,native}-${TARGET}. - Fixed binutils.host DESTDIR and libelf installation bug. --- 006.musl.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '006.musl.build') diff --git a/006.musl.build b/006.musl.build index 201eb598..961746b1 100644 --- a/006.musl.build +++ b/006.musl.build @@ -5,7 +5,7 @@ if is_build_script_done finished; then elif [ "x${3}" = "xno-complex" ]; then # Musl: build (no-complex) _install=install_no_complex; - set_build_dir musl-${PKG_MUSL_VERSION} ${TARGET}-${3}; + set_build_dir musl-${PKG_MUSL_VERSION}-${3} cross; fetch http://www.musl-libc.org/releases/musl-${PKG_MUSL_VERSION}.tar.gz \ ${PKG_MUSL_SHA256SUM}; if ! is_build_script_done extracted; then @@ -22,7 +22,7 @@ elif [ "x${3}" = "xnative" ]; then else # Musl: build (full) _install=install; - set_build_dir musl-${PKG_MUSL_VERSION} ${TARGET}; + set_build_dir musl-${PKG_MUSL_VERSION} cross; fi; if ! is_build_script_done configured; then rm_if_exists -m -c ${_build_dir}; -- cgit v1.2.3