shithub: newlib

ref: 536cef2b2ad9ba00df99f38b8eee764297562799
dir: /host-recipes/binutils/

View raw version
name=binutils
from_source=binutils
revision=1
imagedeps="gcc"
hostdeps="autoconf-2.69 automake-1.15.1"

build() {
    "${source_dir}"/configure \
        --prefix="${prefix}" \
        --target=${OS_TRIPLET} \
        --with-sysroot="${sysroot_dir}" \
        --disable-gdb \
        --disable-nls \
        --disable-werror

    make -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" make install

        strip_command=strip \
    post_package_strip
}