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/amcc/toolchain
8 #Compiler/precompiler flags applications build
9 CC="$(get_toolchain_path)/usr/bin/ppc_4xx-gcc"
10 CXX="$(get_toolchain_path)/usr/bin/ppc_4xx-g++"
11 CFLAGS="-O2 -fno-common -fno-builtin $CFLAGS"
14 CXXFLAGS="$CFLAGS $CXXFLAGS"
16 #Linker flags for C++ applications linkage
19 #Target kernel architecture
21 #Kernel directory location
22 DEFAULT_KERNEL_DIR=/opt/toolchains/amcc/toolchain/kernel_source
23 #Prefix for kernel compiler/binutils
24 DEFAULT_KERNEL_CROSS_COMPILE=$(get_toolchain_path)/usr/bin/ppc_4xx-