summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* usr-ldscript.eclass: drop dead prefix targetsSam James2023-06-101-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* usr-ldscript.eclass: Don't add prefix to ld script paths when standaloneJames Le Cuirot2023-01-281-1/+8
| | | | | | | | | | | | | The toolchain's sysroot is automatically prepended to these paths. Gentoo Prefix used to prevent this, but now we're changing that. prefix-guest systems do not have a sysroot applied, as they use the host's libc, so the prefix is still needed in this case. This is actually all moot because the gen_usr_ldscript function is a noop on prefix anyway, but I'm still adding this in case that changes. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* usr-ldscript.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-18/+20
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* usr-ldscript.eclass: stop using which(1)Sam James2022-12-061-1/+1
| | | | | | | It's non-portable and we're looking to remove it from @system. Bug: https://bugs.gentoo.org/646588 Signed-off-by: Sam James <sam@gentoo.org>
* usr-ldscript.eclass: canonical variable orderingDavid Seifert2022-02-011-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* usr-ldscript.eclass: remove EAPI 5David Seifert2022-02-011-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* usr-ldscript.eclass: Remove duplicate prefix checkUlrich Müller2021-06-251-1/+0
| | | | | | This code won't be reached with USE=prefix. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* usr-ldscript.eclass: Support EAPI 8, drop support for EAPI 4Ulrich Müller2021-06-251-5/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/usr-ldscript: make gen_usr_ldscript a noop on PrefixFabian Groffen2020-06-081-0/+1
| | | | | | | | | Like in the old toolchain-funcs.eclass, don't do any usr-linking on Prefix (because there is no usr-split). In particular, this avoid doing stuff like calling linkers with arguments they don't support and therefore dying. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* usr-ldscript.eclass: avoid duplicate slashes in file pathsMike Gilbert2019-07-181-16/+16
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* usr-ldscript.eclass: add EAPI check and drop legacy codeMike Gilbert2019-07-181-1/+6
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* usr-ldscript.eclass: return early if USE=split-usr is disabledMike Gilbert2019-07-181-1/+5
| | | | | Bug: https://bugs.gentoo.org/417451 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* usr-ldscript.eclass: copy gen_usr_ldscript from toolchain-funcs.eclassMike Gilbert2019-07-181-0/+154
This intentionally redefines the same function to ease migration. Once all ebuilds have been converted, the definition in toolchain-funcs can be removed. Signed-off-by: Mike Gilbert <floppym@gentoo.org>