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

44 lines
633 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
2015-12-21 12:39:00 +00:00
'2.25.1'
2013-07-13 17:19:22 +01:00
)
url=\
(
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2"
)
md5=\
(
2015-12-21 12:39:00 +00:00
'ac493a78de4fee895961d025b7905be4'
2013-07-13 17:19:22 +01:00
)
maintainer=\
(
2015-02-05 13:44:19 +00:00
'Ricardo Martins <rasm@fe.up.pt>'
2013-07-13 17:19:22 +01:00
)
2014-02-02 09:43:32 +00:00
build_dir=$pkg_var
2013-07-13 17:19:22 +01:00
configure()
{
2015-02-05 13:44:19 +00:00
"../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
2013-07-13 17:19:22 +01:00
}
build()
{
$cmd_make
}
host_install()
{
2015-02-05 13:44:19 +00:00
$cmd_make install-strip
2013-07-13 17:19:22 +01:00
}