mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 14:01:43 +01:00
Drop cros-debug eclass and USE flag
The small eclass was not used anywhere. The USE flag was enabled profile-wide but was only used by the update_engine package. We can just add a regular "debug" USE flag to this package that is enabled by default instead. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
ab4e709fa6
commit
7f151af41d
@ -21,7 +21,7 @@ SRC_URI=""
|
|||||||
|
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="cros-debug cros_host -delta_generator symlink-usr"
|
IUSE="cros_host +debug -delta_generator symlink-usr"
|
||||||
|
|
||||||
RDEPEND="!coreos-base/coreos-installer
|
RDEPEND="!coreos-base/coreos-installer
|
||||||
app-arch/bzip2
|
app-arch/bzip2
|
||||||
@ -62,7 +62,7 @@ src_configure() {
|
|||||||
append-flags -Wno-unused-function
|
append-flags -Wno-unused-function
|
||||||
|
|
||||||
local myconf=(
|
local myconf=(
|
||||||
$(use_enable cros-debug debug)
|
$(use_enable debug)
|
||||||
$(use_enable delta_generator)
|
$(use_enable delta_generator)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1,15 +0,0 @@
|
|||||||
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
#
|
|
||||||
# Original Author: The Chromium OS Authors <chromium-os-dev@chromium.org>
|
|
||||||
# Purpose: Set -DNDEBUG if the cros-debug USE flag is not defined.
|
|
||||||
#
|
|
||||||
|
|
||||||
inherit flag-o-matic
|
|
||||||
|
|
||||||
IUSE="cros-debug"
|
|
||||||
|
|
||||||
cros-debug-add-NDEBUG() {
|
|
||||||
use cros-debug || append-flags -DNDEBUG
|
|
||||||
}
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
USE="cros-debug acpi usb symlink-usr cryptsetup policykit"
|
USE="acpi usb symlink-usr cryptsetup policykit"
|
||||||
USE="${USE} -split-usr -cros_host -expat -cairo -X -man"
|
USE="${USE} -split-usr -cros_host -expat -cairo -X -man"
|
||||||
USE="${USE} -acl -gpm -python"
|
USE="${USE} -acl -gpm -python"
|
||||||
USE="${USE} -fortran -abiword -perl -cups -poppler-data"
|
USE="${USE} -fortran -abiword -perl -cups -poppler-data"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user