X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fbinutils;h=83113c3f659e63a8f76e1a73cc1f85db1116a5f3;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=9f34be48671d0300c3239c96e60c2ff4afe09ba7;hpb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;p=hvlinux.git diff --git a/stage1/pkg/binutils b/stage1/pkg/binutils index 9f34be4..83113c3 100644 --- a/stage1/pkg/binutils +++ b/stage1/pkg/binutils @@ -1,18 +1,23 @@ #!/bin/bash -configure_pre() +hvconfig_pre() { + CONFIGURE_OPTS+=" \ + --target=${CLFS_TARGET} \ + --with-lib-path=/tools/lib \ + --disable-nls \ + --enable-shared \ + --disable-multilib" + case "${HVL_TARGET}" in "x86_64") # This adds 64 bit support to Binutils. - CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd" + CONFIGURE_OPTS+=" --enable-64-bit-bfd" ;; esac } -hvbuild() +hvconfig_post() { ${HVMAKE} configure-host - ${HVMAKE} - ${HVMAKE} install }