Commit 647c0efa authored by ZhengShunQian's avatar ZhengShunQian Committed by chrome-internal-fetch
Browse files

Veyron: Initial board overlay

Initial commit with minimal set of files to build an image.

BUG=chrome-os-partner:28940
TEST=./setup_board, ./build_packages, ./build_image

Change-Id: I5644889df9b3555ddc92833d86d49e3ad23aa896
Reviewed-on: https://chromium-review.googlesource.com/198320

Reviewed-by: default avatarKatie Roberts-Hoffman <katierh@chromium.org>
Commit-Queue: Shunqian Zheng <zhengsq@rock-chips.com>
Tested-by: default avatarShunqian Zheng <zhengsq@rock-chips.com>
parent 7bd2642a
chromeos-bsp-veyron-0.0.1.ebuild
\ No newline at end of file
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
DESCRIPTION="Veyron bsp (meta package to pull in driver/tool dependencies)"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="-* arm"
IUSE=""
# Add dependencies on other ebuilds from within this board overlay
RDEPEND=""
# Copyright 2014 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.
ARM_FPU=neon
# TODO: should mod -mtune to cortex-a12, when binutils supported.
MARCH_TUNE="-march=armv7-a -mtune=cortex-a15 -mfpu=${ARM_FPU} -mfloat-abi=hard"
CFLAGS="${CFLAGS} ${MARCH_TUNE}"
CXXFLAGS="${CXXFLAGS} ${MARCH_TUNE}"
USE="${USE} hardfp legacy_keyboard legacy_power_button neon"
# Use rk32 as chipset name
USE="${USE} rk32"
profile-formats = portage-2
masters = portage-stable chromiumos
thin-manifests = true
use-manifests = true
chromeos-base/chromeos-login egl
chromeos-base/xorg-conf egl
media-libs/waffle egl
chromiumos:default/linux/arm/10.0/chromeos
rkchrome-kernel-3.10.30.ebuild
\ No newline at end of file
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
EGIT_BRANCH="master"
EGIT_REPO_URI="https://github.com/rkchrome/kernel.git"
EGIT_COMMIT="715ec793226f21fa90cd4273a74842f21d5e7b8f"
CROS_WORKON_BLACKLIST="1"
# This must be inherited *after* EGIT/CROS_WORKON variables defined
inherit cros-workon cros-kernel2
DESCRIPTION="Kernel 3.10 For Rockchip RK3288"
KEYWORDS="-* arm"
DEPEND="!sys-kernel/chromeos-kernel-next
!sys-kernel/chromeos-kernel"
RDEPEND="${DEPEND}"
src_unpack() {
# Call git-2_src_unpack directly because cros-workon_src_unpack
# would override EGIT_REPO_URI as CROS_GIT_HOST_URL, that is
# https://chromium.googlesource.com
git-2_src_unpack
}
src_configure() {
CHROMEOS_KERNEL_CONFIG="${S}/arch/arm/configs/rockchip_chromium_defconfig"
cros-kernel2_src_configure
}
armv7a-cros-linux-gnueabi
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
DESCRIPTION="Chrome OS BSP virtual package"
HOMEPAGE="http://src.chromium.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* arm"
RDEPEND="chromeos-base/chromeos-bsp-veyron"
linux-sources-2.ebuild
\ No newline at end of file
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
DESCRIPTION="Chrome OS Kernel virtual package"
HOMEPAGE="http://src.chromium.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* arm"
IUSE="-kernel_sources"
RDEPEND="
sys-kernel/rkchrome-kernel[kernel_sources=]
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment