This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/binutils/default.bash

44 lines
630 B
Bash
Raw Permalink Normal View History

2020-09-16 16:11:26 +01:00
version=\
(
'2.35'
)
url=\
(
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.xz"
)
md5=\
(
'fc8d55e2f6096de8ff8171173b6f5087'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
build_dir=$pkg_var
configure()
{
"../binutils-$version/configure" \
--prefix="$cfg_dir_toolchain" \
--target="$cfg_target_canonical" \
--host="$cfg_host_canonical" \
--build="$cfg_host_canonical" \
--with-sysroot="$cfg_dir_toolchain_sysroot" \
--disable-multilib \
--disable-nls
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install-strip
}