From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/heroxbd:master commit in: eclass/
Date: Thu, 4 Dec 2014 08:17:38 +0000 (UTC) [thread overview]
Message-ID: <1417658976.b78f7e2d073c2e7d8e4b75f0d955ebc51be20764.heroxbd@gentoo> (raw)
commit: b78f7e2d073c2e7d8e4b75f0d955ebc51be20764
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 4 02:09:36 2014 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Dec 4 02:09:36 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=dev/heroxbd.git;a=commit;h=b78f7e2d
toolchain.eclass: compatible variables ED and EROOT for EAPI 0,1,2.
---
eclass/toolchain.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 73421f7..3e422c6 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -49,6 +49,11 @@ is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
}
+if [[ ${EAPI:-0} == [012] ]] ; then
+ : ${ED:=${D}}
+ : ${EROOT:=${ROOT}}
+fi
+
# General purpose version check. Without a second arg matches up to minor version (x.x.x)
tc_version_is_at_least() {
version_is_at_least "$1" "${2:-${GCC_RELEASE_VER}}"
next reply other threads:[~2014-12-04 8:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 8:17 Benda XU [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-21 2:23 [gentoo-commits] dev/heroxbd:master commit in: eclass/ Benda XU
2016-07-21 2:19 [gentoo-commits] proj/android:master " Benda XU
2016-07-21 2:23 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-06-24 3:07 [gentoo-commits] proj/android:master " Benda XU
2016-07-21 2:23 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-06-15 11:40 [gentoo-commits] proj/android:master " Benda XU
2016-07-21 2:23 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-06-14 2:00 [gentoo-commits] proj/android:master " Benda XU
2016-07-21 2:23 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-05-26 4:05 [gentoo-commits] proj/android:master " Benda XU
2016-05-26 4:04 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-05-26 4:05 [gentoo-commits] proj/android:master " Benda XU
2016-05-26 4:04 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-05-26 4:05 [gentoo-commits] proj/android:master " Benda XU
2016-05-23 6:18 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-05-26 4:05 [gentoo-commits] proj/android:master " Benda XU
2016-05-23 6:18 ` [gentoo-commits] dev/heroxbd:master " Benda XU
2016-05-23 16:15 Benda XU
2016-05-23 6:18 Benda XU
2016-05-23 6:18 Benda XU
2016-05-23 6:18 Benda XU
2014-11-24 15:41 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1417658976.b78f7e2d073c2e7d8e4b75f0d955ebc51be20764.heroxbd@gentoo \
--to=heroxbd@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox