From 860b3c0ccfb2756b8ed77523048952011b74a212 Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Jun 2016 14:14:04 +0200 Subject: 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 --- crosscompile.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 crosscompile.sh (limited to 'crosscompile.sh') 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" + + -- cgit 1.2.3-korg