-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
make.conf
41 lines (32 loc) · 1.61 KB
/
make.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 2024 The Chromium OS Authors and Alex313031. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# PORTAGE_BINHOST is pulled in from prebuilt.conf
#source prebuilt.conf
# ACCEPT ALL LICENSES
ACCEPT_LICENSE="*"
#ACCEPT_KEYWORDS="~x86"
# IGNORE FILE COLLISIONS FROM PACKAGES
# COLLISION_IGNORE="/lib/firmware"
COLLISION_IGNORE="${COLLISION_IGNORE} /lib/firmware /etc/chrome_dev.conf /etc/skel"
# COMPILER OPTIMIZATION FLAGS
# Don't treat warnings as errors.
MARCH_TUNE="-march=x86-64 -msse3 -mssse3 -msse4.1 -O3"
BOARD_COMPILER_FLAGS="-march=x86-64 -msse3 -mssse3 -msse4.1 -O3"
BOARD_RUSTFLAGS="-Ctarget-cpu=x86-64 -Copt-level=3 -Ctarget-feature=+msse4.1"
CFLAGS="${CFLAGS} -O3 -msse3 -mssse3 -msse4.1 -Wno-error"
CXXFLAGS="${CXXFLAGS} -O3 -msse3 -mssse3 -msse4.1 -Wno-error"
CFLAGS_MODULE="${CFLAGS_MODULE} -O3 -msse3 -mssse3 -msse4.1 -Wno-error"
LDFLAGS="${LDFLAGS} -msse3 -mssse3 -msse4.1 -Wl,-O3 -Wl,--lto-O3"
# CPU USE EXPAND FLAGS
CPU_FLAGS_X86="${CPU_FLAGS_X86} mmx mmxext sse sse2 sse3 ssse3 sse4_1"
# COMPILE CHROMIUM LOCALLY
CHROME_ORIGIN=LOCAL_SOURCE
# Un-comment this line to enable the serial port.
#TTY_CONSOLE="ttyS0"
# OPTIONAL USE FLAGS FOR MY OVERLAY
USE="${USE} reven chrome-dev-flags frick-wallpapers thoriumos lto -cros-debug"
# Allows fall through to real Gentoo repo if Google repo hasn't caught up, or doesnt want to sync certain packages.
GENTOO_MIRRORS="${GENTOO_MIRRORS} https://distfiles.gentoo.org https://thorium.rocks/gentoo"
# Set the kernel config. Use the make.defaults for setting a split-config.
CHROMEOS_KERNEL_ARCH="x86_64"