From e8894c9c3f5c647cbf505884beee8a91d5d5f4fe Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 23 Oct 2014 09:56:08 +0200 Subject: [PATCH] lctr-b2xx: Added support for libswiftnav by adding a patch for f2c hw specifications --- systems/lctr-b2xx/patches/libswiftnav/arith.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systems/lctr-b2xx/patches/libswiftnav/arith.patch diff --git a/systems/lctr-b2xx/patches/libswiftnav/arith.patch b/systems/lctr-b2xx/patches/libswiftnav/arith.patch new file mode 100644 index 0000000..a1cdb0a --- /dev/null +++ b/systems/lctr-b2xx/patches/libswiftnav/arith.patch @@ -0,0 +1,11 @@ +diff -Nru libswiftnav-0.11/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h libswiftnav-0.11.kk/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h +--- libswiftnav-0.11/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h 1970-01-01 01:00:00.000000000 +0100 ++++ libswiftnav-0.11.kk/clapack-3.2.1-CMAKE/F2CLIBS/libf2c/arith_cortex-a8.h 2014-10-23 08:28:34.888000000 +0200 +@@ -0,0 +1,7 @@ ++/* arith.h definitions for ARM Cortex-A8 ++ * Calculated by running arithchk on a Beaglebone Black. */ ++#define IEEE_8087 ++#define Arith_Kind_ASL 1 ++#define Double_Align ++#define QNaN0 0x0 ++#define QNaN1 0x7ff80000