From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pw0-f47.google.com ([209.85.160.47]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Oz2C3-0004XX-I2 for openembedded-devel@lists.openembedded.org; Fri, 24 Sep 2010 08:55:42 +0200 Received: by pwi10 with SMTP id 10so559117pwi.6 for ; Thu, 23 Sep 2010 23:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=VP+dEAA8OzwUW4YGMspOyfF6gAA5GVZfsUVfPtZdEm0=; b=ZFZ4bvWzqzBt7IpDr1QvullY50UGAzs+S/gdTdkPAHbkrsg52f0SnAs9Ofnjpk5i1P GTmb6vUB+TmYZQpy8N6FQYSK1bAJzQsT4Syyw8E7eXnfw7QGGL+YZvlVAx15aAPSZj3U fPz/DCiEBcYoaEBZIqE1zMlS7sBrmYLzxb//A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ZMT7V/4bq27pQ1zGpXHcBhHY51CKKqCczBqjGCe9RbSgX+TucleCR04iKrpAceyorl 054aj462ksXufIMpmQVLs2bZXTBhcCK5pm3cmthOnazNNG8/gm/xRT8QcN09QBKETSbi Sfknle2PeLUDUnRlOes/0xdmSi//Dyfp2XV+s= Received: by 10.114.92.16 with SMTP id p16mr3057552wab.210.1285311331921; Thu, 23 Sep 2010 23:55:31 -0700 (PDT) Received: from [10.0.0.5] (eth7090.sa.adsl.internode.on.net [150.101.58.177]) by mx.google.com with ESMTPS id s5sm2958425wak.0.2010.09.23.23.55.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 23 Sep 2010 23:55:30 -0700 (PDT) Message-ID: <4C9C4B5D.9070802@gmail.com> Date: Fri, 24 Sep 2010 16:25:25 +0930 From: Graham Gower User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100909 Thunderbird/3.0.7 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org X-SA-Exim-Connect-IP: 209.85.160.47 X-SA-Exim-Mail-From: graham.gower@gmail.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [PATCH] python-numpy: add mipsel config. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 06:55:42 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Signed-off-by: Graham Gower --- recipes/python/python-numpy/mipsel/config.h | 21 +++++++++++++++++++++ recipes/python/python-numpy/mipsel/numpyconfig.h | 17 +++++++++++++++++ 2 files changed, 38 insertions(+), 0 deletions(-) create mode 100644 recipes/python/python-numpy/mipsel/config.h create mode 100644 recipes/python/python-numpy/mipsel/numpyconfig.h diff --git a/recipes/python/python-numpy/mipsel/config.h b/recipes/python/python-numpy/mipsel/config.h new file mode 100644 index 0000000..17ef186 --- /dev/null +++ b/recipes/python/python-numpy/mipsel/config.h @@ -0,0 +1,21 @@ +/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */ +/* #define SIZEOF_SHORT 2 */ +/* #define SIZEOF_INT 4 */ +/* #define SIZEOF_LONG 4 */ +/* #define SIZEOF_FLOAT 4 */ +/* #define SIZEOF_DOUBLE 8 */ +#define SIZEOF_LONG_DOUBLE 12 +#define SIZEOF_PY_INTPTR_T 4 +/* #define SIZEOF_LONG_LONG 8 */ +#define SIZEOF_PY_LONG_LONG 8 +/* #define CHAR_BIT 8 */ +#define MATHLIB m +#define HAVE_FLOAT_FUNCS +#define HAVE_LOG1P +#define HAVE_EXPM1 +#define HAVE_INVERSE_HYPERBOLIC +#define HAVE_INVERSE_HYPERBOLIC_FLOAT +#define HAVE_ISNAN +#define HAVE_ISINF +#define HAVE_RINT + diff --git a/recipes/python/python-numpy/mipsel/numpyconfig.h b/recipes/python/python-numpy/mipsel/numpyconfig.h new file mode 100644 index 0000000..c4bf654 --- /dev/null +++ b/recipes/python/python-numpy/mipsel/numpyconfig.h @@ -0,0 +1,17 @@ +/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */ +/* + * * This file is generated by numpy/core/setup.pyc. DO NOT EDIT + * */ +#define NPY_SIZEOF_SHORT 2 +#define NPY_SIZEOF_INT 4 +#define NPY_SIZEOF_LONG 4 +#define NPY_SIZEOF_FLOAT 4 +#define NPY_SIZEOF_DOUBLE 8 +#define NPY_SIZEOF_LONGDOUBLE 12 +#define NPY_SIZEOF_PY_INTPTR_T 4 +#define NPY_NO_SMP 0 + +#define NPY_SIZEOF_LONGLONG 8 +#define NPY_SIZEOF_PY_LONG_LONG 8 +/* #define CHAR_BIT 8 */ + -- 1.7.1