TODO: Add temporary debugs in firmware calls
[wave300.git] / support / star910x-4mb-linux26.env
blobc6bb7edf44abd0978e137a00f3f366b21520a913
1 #WARNING: values of DEFAULT_TOOLCHAIN_PATH, DEFAULT_KERNEL_DIR and DEFAULT_KERNEL_CROSS_COMPILE 
2 #         variables are assigned in this file but should never be used directly.
3 #         $(get_toolchain_path), $(get_kernel_dir) and $(get_kernel_cross_compile) to be used instead
5 #Toolchain path for applications build
6 DEFAULT_TOOLCHAIN_PATH=/opt/toolchains/star/star-6.7.2-mtlk-GPB237-VideoBridge-vela/tools/arm-uclibc-3.4.6/bin
8 #Compiler/precompiler flags applications build
9 CC="$(get_toolchain_path)/arm-linux-uclibc-gcc"
10 CXX="$(get_toolchain_path)/arm-linux-uclibc-g++"
11 CFLAGS="-g -fno-common -fno-builtin -O2 -march=armv4 -msoft-float $CFLAGS"
12 #CXXFLAGS="$CXXFLAGS"
14 #Linker flags for C++ applications linkage
15 cxx_ldadd=
17 #Target kernel architecture
18 kernel_arch=arm
20 #Kernel directory location
22 if [ x"$CONFIG_STAR4MB_NO_DSPAD" != x"y" ]; then
23 KERNELDIR_MOD=_dspad
26 DEFAULT_KERNEL_DIR=/opt/toolchains/star/nv_1.2.72-4mb/kernel/linux-2.6.16-star$KERNELDIR_MOD
28 #Prefix for kernel compiler/binutils
29 DEFAULT_KERNEL_CROSS_COMPILE=/opt/toolchains/star/nv_1.2.72-4mb/tools/arm-uclibc-3.4.6/bin/arm-linux-uclibc-
31 #Optional additional information about toolchain
32 INFODIR=`readlink -f $(get_kernel_dir)`
33 CUSTOM_DRV_ENV_INFO="KERNELSVN=`svn info $INFODIR | awk '$1=="URL:"{printf $2}'`:`svnversion $INFODIR`,"
34 INFODIR=`dirname $(get_kernel_cross_compile)`
35 CUSTOM_DRV_ENV_INFO+="TOOLCHAINSVN=`svn info $INFODIR | awk '$1=="URL:"{printf $2}'`:`svnversion $INFODIR`"
36 CUSTOM_APP_ENV_INFO="TOOLCHAINSVN=`svn info $(get_toolchain_path) | awk '$1=="URL:"{printf $2}'`:`svnversion $(get_toolchain_path)`"