mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
fix(profiles): Move USE from make.conf to make.defaults in profiles.
Moving more things into the profiles means we eventually reduce the magic around generating make.conf and aids bootstrapping.
This commit is contained in:
parent
18db4d8f86
commit
2dde5c7215
@ -7,7 +7,7 @@ LDFLAGS="-Wl,-O2 -Wl,--as-needed"
|
||||
FEATURES="allow-missing-manifests buildpkg clean-logs -collision-protect
|
||||
-ebuild-locks parallel-install sandbox -strict userfetch userpriv
|
||||
usersandbox -unknown-features-warn"
|
||||
USE="-openrc"
|
||||
|
||||
# Since our portage comes from version control, we redirect distfiles
|
||||
DISTDIR="/var/lib/portage/distfiles"
|
||||
|
||||
@ -43,9 +43,6 @@ source /usr/local/portage/coreos/coreos/binhost/host/amd64-PREFLIGHT_BINHOST.con
|
||||
FULL_BINHOST="https://commondatastorage.googleapis.com/chromeos-prebuilt/host/amd64/amd64-host/chroot-2013.02.04.090227/packages/"
|
||||
PORTAGE_BINHOST="$PREFLIGHT_BINHOST $FULL_BINHOST"
|
||||
|
||||
# expat needed for XML parsing in GDB, but enable globally as overhead is tiny.
|
||||
USE="${USE} -cups hardened cros_host multilib pic pie -introspection expat"
|
||||
|
||||
GENTOO_MIRRORS="
|
||||
http://gentoo.osuosl.org/
|
||||
https://commondatastorage.googleapis.com/chromeos-mirror/gentoo
|
||||
|
@ -10,9 +10,6 @@ ACCEPT_KEYWORDS="amd64"
|
||||
# Common settings across all board targets.
|
||||
source make.conf.common
|
||||
|
||||
# Recommended x86-specific USE flags.
|
||||
USE="${USE} mmx sse sse2 dri hardened"
|
||||
|
||||
# Recommended MARCH_TUNE, CFLAGS, etc.
|
||||
MARCH_TUNE=""
|
||||
|
||||
|
@ -13,7 +13,6 @@ HOSTCC=x86_64-pc-linux-gnu-gcc
|
||||
LDFLAGS="-Wl,-O2 -Wl,--as-needed"
|
||||
|
||||
ACCEPT_KEYWORDS="${ARCH}"
|
||||
USE="${ARCH} zlib bindist cros-debug -introspection cmt"
|
||||
|
||||
# Be sure we don't overwrite pkgs from another sysroot.
|
||||
PKGDIR=${ROOT}packages/
|
||||
|
@ -136,6 +136,10 @@ PYTHON_SINGLE_TARGET="python2_6"
|
||||
USE_EXPAND="${USE_EXPAND} BOARD_USE CROS_WORKON_TREE TESTS U_BOOT_CONFIG_USE U_BOOT_FDT_USE"
|
||||
USE_EXPAND_HIDDEN="${USE_EXPAND_HIDDEN} CROS_WORKON_TREE"
|
||||
|
||||
# Extra use flags for Core OS SDK (and possibly targets)
|
||||
# Previously defined in make.conf
|
||||
USE="${USE} hardened cros_host pic pie expat -introspection -cups -openrc"
|
||||
|
||||
# Default licenses that are accepted for ChromiumOS builds.
|
||||
# If you want to accept more, use the --accept_licenses flag
|
||||
# when running setup_board.
|
||||
|
@ -1,8 +1,8 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
USE="acpi usb pam -cairo -X"
|
||||
|
||||
USE="bindist cros-debug acpi usb pam"
|
||||
USE="${USE} -cros_host -expat -pic -pie -cairo -X"
|
||||
USE="${USE} -acl -cracklib -gpm -ipv6 -openmp -python -sha512"
|
||||
USE="${USE} -fortran -abiword -perl -cups -poppler-data -nls"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user