44 lines
633 B
Bash
44 lines
633 B
Bash
version=\
|
|
(
|
|
'2.25.1'
|
|
)
|
|
|
|
url=\
|
|
(
|
|
"http://mirrors.kernel.org/gnu/binutils/binutils-$version.tar.bz2"
|
|
)
|
|
|
|
md5=\
|
|
(
|
|
'ac493a78de4fee895961d025b7905be4'
|
|
)
|
|
|
|
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
|
|
}
|