[ELDK] Fix libtool-cross do_qa_configure error

Detlev Zundel dzu at denx.de
Tue Aug 27 12:46:57 CEST 2013


Hi Larry,

[...]

> These patches define the FC variables and update the default FORTRAN from f77 to fortran:

Thanks for looking into this topic!

> --- original/eldk/meta/classes/native.bbclass
> +++ patched/eldk/meta/classes/native.bbclass
> @@ -61,2 +61,3 @@
>  export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
> +export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}"
>  export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
> --- original/eldk/meta/conf/bitbake.conf
> +++ patched/eldk/meta/conf/bitbake.conf
> @@ -448,2 +448,3 @@
>  export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
> +export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
>  export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
> @@ -463,2 +464,3 @@
>  export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}"
> +export BUILD_FC = "${CCACHE}${BUILD_PREFIX}gfortran ${BUILD_CC_ARCH}"
>  export BUILD_F77 = "${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}"
> --- original/eldk/meta/recipes-devtools/gcc/gcc-configure-common.inc
> +++ patched/eldk/meta/recipes-devtools/gcc/gcc-configure-common.inc
> @@ -13,3 +13,3 @@
>  # gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
> -FORTRAN ?= ",f77"
> +FORTRAN ?= ",fortran"
>  LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
>
> I know DENX is working on an update for the ELDK-5.4.  I hope there is time to include these patches.

If we can get this to work correctly, we'll of course include them.

> Should I also forward these patches to the Yocto Project?  To the Open
> Embedded Project?  I don't know exactly who your upstream provider is.

Yes, we want to fix these (non-ELDK related) issues in the proper
upstream.  Although our upstream is Yocto, that project itself
consists of oe-core[1] and the Yocto sepcific extensions.  Personally I'd
say, this belongs into the oe-core area and therefore should be
discussed on that mailing list[2].

Cheers
  Detlev

[1] https://www.yoctoproject.org/tools-resources/projects/openembedded-core
[2] http://lists.openembedded.org/pipermail/openembedded-core/

-- 
It is practically impossible to teach good programming to students that have
had a  prior exposure to BASIC:  as potential  programmers they are mentally
mutilated beyond hope of regeneration.                    -- Edsger Dijkstra 
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list