summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-03 14:00:12 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-03 14:00:12 +0100
commite8817ba3f952e7f22d9c179d7b8644b6d29c47de (patch)
tree0b795a979706ece470305ce919fe11537b12d059 /vars
parente7cd60f030b3c8ae4063cbfbb02e04ad74645a55 (diff)
downloadmidipix_build-e8817ba3f952e7f22d9c179d7b8644b6d29c47de.tar.bz2
midipix_build-e8817ba3f952e7f22d9c179d7b8644b6d29c47de.tar.xz
groups/030.host_toolchain.group: adds binutils_build v2.24.51 (via midipix.)
groups/030.host_toolchain.group:binutils_host:${PKG_DEPENDS}: adds binutils_build. vars/binutils_build.vars:pkg_binutils_build_install_make(): solely install include/bfd.h and lib/libbfd.a (via midipix.)
Diffstat (limited to 'vars')
-rw-r--r--vars/binutils.vars5
l---------vars/binutils_build.vars1
2 files changed, 6 insertions, 0 deletions
diff --git a/vars/binutils.vars b/vars/binutils.vars
index a6907df4..c6618b56 100644
--- a/vars/binutils.vars
+++ b/vars/binutils.vars
@@ -2,6 +2,11 @@
# set +o errexit -o noglob -o nounset is assumed.
#
+pkg_binutils_build_install_make() {
+ rtl_fileop cp "${PKG_BUILD_DIR}/bfd/bfd.h" "${PKG_DESTDIR}/include";
+ rtl_fileop cp "${PKG_BUILD_DIR}/bfd/libbfd.a" "${PKG_DESTDIR}/lib";
+};
+
pkg_binutils_configure_patch_post() {
local _overlay_dname="${BUILD_WORKDIR}/chainport/overlay/m${PKG_NAME%%_*}";
if [ -d "${_overlay_dname}" ]\
diff --git a/vars/binutils_build.vars b/vars/binutils_build.vars
new file mode 120000
index 00000000..2c4e1f2a
--- /dev/null
+++ b/vars/binutils_build.vars
@@ -0,0 +1 @@
+binutils.vars \ No newline at end of file