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/cross.bash
2017-05-11 21:36:06 +01:00

44 lines
631 B
Bash

version=\
(
'2.28'
)
url=\
(
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2"
)
md5=\
(
'9e8340c96626b469a603c15c9d843727'
)
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
}