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