blob: 57e0bcd6af0e6775df1d608c64c0af820a14386f [file] [log] [blame]
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
CROS_WORKON_PROJECT="chromiumos/platform/bootcache"
CROS_WORKON_LOCALNAME="../platform/bootcache"
CROS_WORKON_OUTOFTREE_BUILD=1
inherit cros-constants cros-workon
DESCRIPTION="Utility for creating store for boot cache"
HOMEPAGE="${CROS_GIT_HOST_URL}/${CROS_WORKON_PROJECT}"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~*"
IUSE="-asan"
src_prepare() {
cros-workon_src_prepare
}
src_configure() {
asan-setup-env
cros-workon_src_configure
}
src_compile() {
cros-workon_src_compile
}
src_install() {
cros-workon_src_install
dosbin "${OUT}"/bootcache
insinto /etc/init
doins bootcache.conf
}