aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix test for broken symlinks (-e is false, -h is true)HEADv5.5.2masterAndreas K. Hüttel2024-07-281-1/+1
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Remove bad binutils symlinks in /usr/libexec/gcc/${HOST}/v5.5.1Andreas K. Hüttel2024-07-281-0/+15
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Print error message on empty determined CHOSTAndreas K. Hüttel2024-07-261-0/+6
| | | | | | No error exit yet, until we've fixed our problems. Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* Read CHOST with portageq from EROOT and not /v5.5James Le Cuirot2023-01-031-0/+1
| | | | | | Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/binutils-config/pull/1 Signed-off-by: Sam James <sam@gentoo.org>
* Allow EPREFIX to be overridden for manipulating prefixed ROOTJames Le Cuirot2023-01-031-9/+6
| | | | | | | | | | This use case was totally broken. We need to hardcode BROOT instead, as we don't want to source /lib/gentoo/functions.sh from ROOT We did the same with gcc-config. This aligns the start of these scripts. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* binutils-config: use portable Bash shebangSam James2022-09-231-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* binutils-config: skip updating empty env.d filesv5.4.1Joakim Tjernlund2022-01-131-1/+1
| | | | | | | | | If the package doesn't have any info or man pages, we won't create an env.d file, so don't try moving it. Closes: https://bugs.gentoo.org/796260 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Use @GENTOO_EPREFIX@ instead of @GENTOO_PORTAGE_EPREFIX@Mike Gilbert2022-01-081-2/+2
| | | | | | | This matches the sed expression in the Makefile, and the expression used in gcc-config. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* binutils-config: add support for special 'latest' version for profile switchv5.4Sergei Trofimovich2021-02-281-7/+39
| | | | | | | | To ease switching to latest version add special 'latest' verison. Works for both "latest" and "<CTARGET>-latest" forms. Bug: https://bugs.gentoo.org/765664 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* README: fix tag prefixv5.3.2Sergei Trofimovich2020-06-211-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* README: add 'Releasing' sectionSergei Trofimovich2020-06-211-0/+6
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* src/binutils-config: add --get-bin-path / --get-lib-pathSergei Trofimovich2020-06-211-0/+17
| | | | | | | | | The options are symmetric to gcc-config's --get-bin-path / --get-lib-path. Useful to quickly get unprefixed tools into $PATH as: export PATH="$(gcc-config -B):$(binutils-config -B):$PATH" Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* binutils-config: fix native link removal by cross-compilers, bug #724454v5.3.1Sergei Trofimovich2020-05-231-11/+13
| | | | | | | | | | | | | | | | | | | commit 36eba05752348258a7 ("binutils-config: add build-time and runtime switches to disable native symlinks"). Added symlink deletion for USE_NATIVE_LINKS=no mode. It had a bug: it unconditionally deleted native symlinks if binutils-config is called on a cross-binutils installation. I missed the case because I assumed that tool names in binutils' private directory match gcc' private directory. The change is not to perform symlink cleanup for unprefixed binaries for cross-binutils. Reported-by: Ionen Wolkens Bug: https://bugs.gentoo.org/724454 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* binutils-config: document current binary assumptionsSergei Trofimovich2020-05-231-0/+12
| | | | | | | | There is a difference in gcc / binutils layout: binutils binaries are always unprefixed. Bug: https://bugs.gentoo.org/724454 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* src/binutils-config: add --nocolor optionv5.3Sergei Trofimovich2020-05-221-0/+2
| | | | | | | For symmetry with gcc-config. Will allow iterating through targets in pkg_*() phases. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* src/binutils-config: unbreak AND syntax for [[ ]]Sergei Trofimovich2020-05-211-1/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* binutils-config: add build-time and runtime switches to disable native symlinksSergei Trofimovich2020-05-212-4/+31
| | | | | | | | | | | We have two knobs here: 1. Build-time knob USE_NATIVE_LINKS to set a default, defaults to 'yes' (existing behaviour) 2. Run-time --enable-native-links / --disable-native-links knobs. These are not persistent across binutils-config runs and are meant for manual testing. Undocumented for now. Reported-by: Kent Fredric Bug: https://bugs.gentoo.org/724454 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* README.md: rename to plaitext READMESergei Trofimovich2020-05-212-3/+1
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* README.md: add link to development repositorySergei Trofimovich2020-05-211-0/+3
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Makefile: new trivial makefile to build tarballs and install themv5.2.1Sergei Trofimovich2020-05-213-2/+33
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* add binutils-config sources as-isSergei Trofimovich2020-05-213-35/+126
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* move installed source file to prepare for tarball geenrationSergei Trofimovich2020-05-211-0/+0
| | | | Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Do not remove any header symlinks, since this removes also a valid symlink ↵Andreas K. Hüttel2017-12-161-9/+1
| | | | | | | installed by binutils-libs, bug 584296 binutils-libs is stable since Sat Apr 2 20:55:45 2016, thus it's unlikely someone still needs to convert to the split packages
* Create README.mdAndreas K. Hüttel2017-12-161-0/+4
|
* Version 5Andreas K. Hüttel2017-12-161-58/+78
| | | | https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/binutils-config/files/binutils-config-5
* Version 4Andreas K. Hüttel2017-12-161-55/+11
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-4?revision=1.4
* Version 3Andreas K. Hüttel2017-12-161-129/+204
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-3?revision=1.11
* Version 2Andreas K. Hüttel2017-12-161-26/+50
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-2?revision=1.3
* Version 1.9Andreas K. Hüttel2017-12-161-31/+53
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9?revision=1.10
* Version 1.8Andreas K. Hüttel2017-12-161-45/+94
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8?revision=1.17
* Version 1.7Andreas K. Hüttel2017-12-161-45/+68
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.7?revision=1.2
* Version 1.6Andreas K. Hüttel2017-12-161-6/+27
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.6?revision=1.5
* Version 1.5Andreas K. Hüttel2017-12-161-10/+16
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.5?revision=1.2
* Version 1.4Andreas K. Hüttel2017-12-161-1/+23
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.4?revision=1.1
* Version 1.3Andreas K. Hüttel2017-12-161-2/+11
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.3?revision=1.1
* Version 1.2Andreas K. Hüttel2017-12-161-2/+7
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.2?revision=1.1
* Version 1.1Andreas K. Hüttel2017-12-161-25/+78
| | | | https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.1?revision=1.1
* Version 1.0Andreas K. Hüttel2017-12-161-0/+200
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.0?revision=1.3