X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fbinutils;h=83113c3f659e63a8f76e1a73cc1f85db1116a5f3;hb=2121ae9154ff063eef0defe0a9208663062a2d01;hp=cc0ae1ba37ccb3cc0bdb8f7ca8660c41779b6451;hpb=0028eaa73ae0c3bd1dbf90c4bd508ae705bc386f;p=hvlinux.git diff --git a/stage1/pkg/binutils b/stage1/pkg/binutils index cc0ae1b..83113c3 100644 --- a/stage1/pkg/binutils +++ b/stage1/pkg/binutils @@ -1,26 +1,23 @@ #!/bin/bash -CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ - --target=${CLFS_TARGET} \ - --with-lib-path=/tools/lib \ - --disable-nls \ - --enable-shared \ - --disable-multilib" - 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 }