Skip to content

Commit

Permalink
usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4
Browse files Browse the repository at this point in the history
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Jun 25, 2021
1 parent e4f6db3 commit f34b766
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions eclass/usr-ldscript.eclass
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Copyright 2019 Gentoo Authors
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# @ECLASS: usr-ldscript.eclass
# @MAINTAINER:
# Toolchain Ninjas <[email protected]>
# @SUPPORTED_EAPIS: 4 5 6 7
# @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: Defines the gen_usr_ldscript function.

if [[ -z ${_USR_LDSCRIPT_ECLASS} ]]; then
_USR_LDSCRIPT_ECLASS=1

case ${EAPI:-0} in
4|5|6|7) ;;
*) die "EAPI=${EAPI} is not supported" ;;
case ${EAPI} in
5|6|7|8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac

inherit multilib toolchain-funcs
Expand Down

0 comments on commit f34b766

Please sign in to comment.