summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-01-07 18:50:11 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-01-07 19:39:46 +0000
commitce86854ff88f4bd813a0d4f1387c1f9dcabb2a95 (patch)
tree787b17040f892f89fb8004f88deb55f355c5c976 /eclass/kernel-2.eclass
parentdev-embedded/avr-libc: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-... (diff)
downloadgentoo-ce86854ff88f4bd813a0d4f1387c1f9dcabb2a95.tar.gz
gentoo-ce86854ff88f4bd813a0d4f1387c1f9dcabb2a95.tar.bz2
gentoo-ce86854ff88f4bd813a0d4f1387c1f9dcabb2a95.zip
kernel-2.eclass: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only. Convert it to a global USE flag instead. Mechanical ebuild rename done as: $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \ -i $(git grep -l headers-only) 'headers-only' flag is used by crossdev to bootstrap stage1 compiler before libc is available. crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230. Bug: https://bugs.gentoo.org/642712 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 018f48e71069..a42d5f5ec24b 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -667,7 +667,7 @@ if [[ ${ETYPE} == sources ]]; then
elif [[ ${ETYPE} == headers ]]; then
DESCRIPTION="Linux system headers"
- IUSE="crosscompile_opts_headers-only"
+ IUSE="headers-only"
# Since we should NOT honour KBUILD_OUTPUT in headers
# lets unset it here.
@@ -693,7 +693,7 @@ kernel_header_destdir() {
# @DESCRIPTION:
# set use if necessary for cross compile support
cross_pre_c_headers() {
- use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
+ use headers-only && [[ ${CHOST} != ${CTARGET} ]]
}
# @FUNCTION: env_setup_xmakeopts