summaryrefslogtreecommitdiffstats
path: root/crosscompile.sh
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-06-21 14:14:04 +0200
committerChristian Gromm <christian.gromm@microchip.com>2016-06-21 14:14:04 +0200
commit860b3c0ccfb2756b8ed77523048952011b74a212 (patch)
treee0672fb5cf923dcf0a4a48a62a69011e1b72976a /crosscompile.sh
parent742bace60b9c0a0f583d8afe1097d029f468fa03 (diff)
src: can-lin: initial source import
This patch adds the sources needed for the HVAC and iDrive applications. Change-Id: I53148a5d11c34787dd11295939bbaf8702c64dcb Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Diffstat (limited to 'crosscompile.sh')
-rwxr-xr-xcrosscompile.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/crosscompile.sh b/crosscompile.sh
new file mode 100755
index 0000000..9d76fcb
--- /dev/null
+++ b/crosscompile.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+export CROSS_COMPILE=$AGL_TOP/build/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
+export ARCH=arm
+export CC=${CROSS_COMPILE}gcc
+export KDIR=$AGL_TOP/build/tmp/work/porter-poky-linux-gnueabi/linux-renesas/3.10+gitb8ca8c397343f4233f9f68fc3a5bf8e1c9b88251-r0/sysroot-destdir/usr/src/kernel
+export CXX_FLAGS="-D__ARM_PCS_VFP -mfloat-abi=hard"
+export BOOST_ROOT="$AGL_TOP/build/tmp/work/cortexa15hf-vfp-neon-poky-linux-gnueabi/boost/1.56.0-r0"
+export LIBRARY_PATH=""
+export CPATH=""
+export INCLUDE_PATH=""
+export LIBRARIES_FLAGS="-lm -lz -lcrypt"
+
+