blob: b929c1275ddfa38615230c4b3aed99c163475473 [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
CHROMEOS_KERNEL_SPLITCONFIG="chromiumos-mediatek"
CHROMEOS_KERNEL_ARCH="arm64"
CHROMEOS_LIBPAYLOAD_ARCH_DIR="${CHROMEOS_KERNEL_ARCH}"
ARM_FPU=crypto-neon-fp-armv8
MARCH_TUNE="-march=armv8-a+crc -mtune=cortex-a57.cortex-a53 -mfpu=${ARM_FPU} -mfloat-abi=hard"
# Add the linker option to fix hardware errata. Refer bug here -
# https://code.google.com/p/chrome-os-partner/issues/detail?id=39170
LDFLAGS="${LDFLAGS} -Wl,--fix-cortex-a53-843419"
USE="${USE} bitmap_in_cbfs cros_ec depthcharge device_tree hardfp kernel-3_18"
USE="${USE} mosys_eventlog neon -opengl opengles pd_sync touchview"
USE="${USE} unified_depthcharge vboot2 watchdog"
TTY_CONSOLE="ttyS0"
EC_FIRMWARE="oak"
EC_FIRMWARE_EXTRA="oak_pd"
PD_FIRMWARE="oak_pd"
# PORTAGE_BINHOST is pulled in from prebuilt.conf
source prebuilt.conf