From: Hugo Villeneuve Date: Sun, 20 Sep 2015 00:48:06 +0000 (-0400) Subject: Add multilib support for avr5 architecture X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=7ab9108c07cff87c60f3dcf472cf7d887d7e930b;p=hvlinux.git Add multilib support for avr5 architecture --- diff --git a/stage0/pkg/binutils b/stage0/pkg/binutils index 5a057a1..d4c51e6 100644 --- a/stage0/pkg/binutils +++ b/stage0/pkg/binutils @@ -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 diff --git a/stage0/pkg/gcc b/stage0/pkg/gcc index fab1a51..7fe5c65 100644 --- a/stage0/pkg/gcc +++ b/stage0/pkg/gcc @@ -34,8 +34,13 @@ hvconfig_pre() --with-cloog=${CROSS_TOOLS_DIR} \ --with-mpc=${CROSS_TOOLS_DIR} --with-system-zlib \ - --enable-checking=release \ - --disable-multilib" + --enable-checking=release" + + if [ x"${HVL_TARGET}" == x"avr" ]; then + CONFIGURE_OPTS+="--enable-multilib" + else + CONFIGURE_OPTS+="--disable-multilib" + fi if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then # --without-headers: