[oe] [meta-openembedded 1/4] python_numpy: Fix SRC_URI warnings.

Martin Jansa martin.jansa at gmail.com
Wed Jul 18 07:24:13 UTC 2012


On Fri, Jul 6, 2012 at 4:52 AM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
> This commit fixes the following warnings:
> WARNING: Unable to get checksum for python-numpy SRC_URI entry config.h: file could not be found
> WARNING: Unable to get checksum for python-numpy SRC_URI entry numpyconfig.h: file could not be found
>
> Signed-off-by: Elvis Dowson <elvis.dowson at gmail.com>
> ---
>  .../recipes-devtools/python/python-numpy_1.4.1.bb  |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> index a67bf8b..c1923f7 100644
> --- a/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> +++ b/meta-oe/recipes-devtools/python/python-numpy_1.4.1.bb
> @@ -5,7 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3c42211d73c3faa1026e671dd39883fa"
>  PR = "r3"
>
>  SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
> -          file://config.h \
> +           ${CONFIGFILESURI} \
> +         "
> +CONFIGFILESURI ?= ""
> +
> +CONFIGFILESURI_arm = "file://config.h \
> +          file://numpyconfig.h \
> +         "
> +CONFIGFILESURI_mipsel = "file://config.h \
>            file://numpyconfig.h \
>           "

Does python-numpy build for other archs (without config.h and numpyconfig.h)?

If no then please add COMPATIBLE_HOST restriction to arm or mipsel.

It can be in follow-up patch..

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>




More information about the Openembedded-devel mailing list