Add multilib support for avr5 architecture
[hvlinux.git] / stage0 / pkg / binutils
index 5a057a1..d4c51e6 100644 (file)
@@ -15,8 +15,13 @@ hvconfig_pre()
         --with-sysroot=${CLFS} \
         --with-lib-path=${CLFS}/dummy-directory/ \
         --disable-nls \
-        --enable-shared \
-        --disable-multilib"
+        --enable-shared"
+
+    if [ x"${HVL_TARGET}" == x"avr" ]; then
+        CONFIGURE_OPTS+="--enable-multilib"
+    else
+        CONFIGURE_OPTS+="--disable-multilib"
+    fi
 
     # --enable-64-bit-bfd:
     # bfd = Binary File Descriptor