mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 18:12:08 +02:00
eclass/toolchain-funcs: Support EAPI 4
This commit is contained in:
parent
aa96af3048
commit
c3cbaf1fb2
@ -1,10 +1,12 @@
|
|||||||
# Copyright 2002-2021 Gentoo Authors
|
# Copyright 2002-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Flatcar: Support EAPI 4.
|
||||||
|
|
||||||
# @ECLASS: toolchain-funcs.eclass
|
# @ECLASS: toolchain-funcs.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Toolchain Ninjas <toolchain@gentoo.org>
|
# Toolchain Ninjas <toolchain@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
# @SUPPORTED_EAPIS: 4 5 6 7 8
|
||||||
# @BLURB: functions to query common info about the toolchain
|
# @BLURB: functions to query common info about the toolchain
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# The toolchain-funcs aims to provide a complete suite of functions
|
# The toolchain-funcs aims to provide a complete suite of functions
|
||||||
@ -15,7 +17,7 @@
|
|||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI:-0} in
|
||||||
# EAPI=0 is still used by crossdev, bug #797367
|
# EAPI=0 is still used by crossdev, bug #797367
|
||||||
0|5|6|7|8) ;;
|
0|4|5|6|7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user