From 4cffb9399cb6b9acf64929a07e9e2c9f1b97c929 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: Mon, 4 Dec 2017 01:52:11 +0000 Subject: vars/build.vars: adds dist_minipix_libs. vars/dist_minipix_libs.vars: copy lib{c,ncursesw,psxscl,u16ports}.so into ${PREFIX_MINIPIX}/lib. --- vars/build.vars | 2 +- vars/dist_minipix_libs.vars | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 vars/dist_minipix_libs.vars (limited to 'vars') diff --git a/vars/build.vars b/vars/build.vars index b4ca64ce..b54a6c67 100644 --- a/vars/build.vars +++ b/vars/build.vars @@ -1079,7 +1079,7 @@ DIST_MINIPIX_PREFIX="${PREFIX_MINIPIX}"; # Build target dist_target # DIST_TARGET_NO_LOG_VARS=1; -DIST_TARGET_PACKAGES="dist_etc dist_digest dist_tarballs"; +DIST_TARGET_PACKAGES="dist_minipix_libs dist_etc dist_digest dist_tarballs"; # # Build targets diff --git a/vars/dist_minipix_libs.vars b/vars/dist_minipix_libs.vars new file mode 100644 index 00000000..37ac6454 --- /dev/null +++ b/vars/dist_minipix_libs.vars @@ -0,0 +1,13 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_dist_minipix_libs_all() { + local _libname; + for _libname in libc libncursesw libpsxscl libu16ports; do + ex_rtl_fileop cp \ + "${PREFIX_NATIVE}/lib/${_libname}.so" "${PREFIX_MINIPIX}/lib"; + done; +}; + +# vim:filetype=sh -- cgit v1.2.3