X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fbinutils;h=9ea2aad547fb6dc4cf514ebd99671e6177813a0a;hb=2f26e347a05e245d6f57cb6603a7a51a4418b80d;hp=9f34be48671d0300c3239c96e60c2ff4afe09ba7;hpb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;p=hvlinux.git diff --git a/stage1/pkg/binutils b/stage1/pkg/binutils index 9f34be4..9ea2aad 100644 --- a/stage1/pkg/binutils +++ b/stage1/pkg/binutils @@ -1,7 +1,15 @@ #!/bin/bash -configure_pre() +hvconfig_pre() { + CONFIGURE_OPTS="\ + ${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. @@ -10,9 +18,7 @@ configure_pre() esac } -hvbuild() +hvconfig_post() { ${HVMAKE} configure-host - ${HVMAKE} - ${HVMAKE} install }