blob: 4b5479174e430a9d3a22a9d7602db9f4b6db13e6 [file] [log] [blame] [edit]
# TODO(dianders):
# * Should we change to -mtune=cortex-a15?
# * Shouldn't we be using hardfp?
# * Re-add USE=device_tree once we've got the kernel building OK.
CHROMEOS_KERNEL_SPLITCONFIG="chromeos-tegra2"
#CHROMEOS_KERNEL_SPLITCONFIG="chromiumos-exynos5"
ARM_FPU=neon
MARCH_TUNE="-march=armv7-a -mtune=cortex-a15 -mfpu=${ARM_FPU} -mfloat-abi=hard"
CFLAGS="${CFLAGS} ${MARCH_TUNE}"
CXXFLAGS="${CXXFLAGS} ${MARCH_TUNE}"
EXTRA_BUILD_ARGS="arm_neon=1 arm_fpu=${ARM_FPU}"
INPUT_DEVICES="${INPUT_DEVICES} cmt"
USE="${USE} cmt exynos neon new_power_button -opengl opengles aura"
USE="${USE} serial_use_ttySAC3 device_tree hardfp"