aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* crossdev: turn on multilib for bare metal arm cortex-MSteve Arnold2017-12-121-0/+3
| | | | | | | | | | | * note this is required for a toolchain that supports more than one cpu/fpu * also note this needs some toolchain patches for proper multilib and armv8-M support (currently applied in ada overlay) * grab from dev.g.o/~nerdboy/files/gcc-6.4.0-arm-patches-1.0.tar.gz and apply after other patches (or the ned of src_prepare) Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* crossdev: force USE=-pie for cross-avr toolchainSteve Arnold2017-11-231-3/+3
| | | | Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* Add 'mmix' target, bug #609602Sergei Trofimovich2017-11-211-0/+8
| | | | | | | | | | | Add basic support for MMIX by Matthias Maier. Usage example: $ crossdev -t mmix Closes: https://bugs.gentoo.org/609602 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* add hppa64-* target supportSergei Trofimovich2017-11-211-0/+7
| | | | | | | | | | | | | This target builds only C compiler by default. No glibc or linux headers as 64 userspace ABI is not defined yet. See https://parisc.wiki.kernel.org/index.php/Userspace64 Usage example: $ crossdev -t hppa64-unknown-linux-gnu Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* crossdev: remove support for undocumented -b -d -p -v -q -pv -vp options, ↵Sergei Trofimovich2017-11-191-2/+0
| | | | | | | | | | | | | | | | | | | | bug #638182 In bug #638182 Maciej tried to use crossdev as: crossdev -t x86_64-w64-mingw32 -b 2.28.1 which attempted to build configs for '2.28.1' target. crossdev silently passed '-b' to emerge and treated next argument as target option. This change removes all undocumented options. Use '-P <option>' instead. That way typo is reported correctly as: * UNKNOWN OPTION: '-b' Bug: https://bugs.gentoo.org/638182 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Update avr/armv7m with USE=cxx for stage4, use crossdev HCHOST variableSteve Arnold2017-10-241-4/+5
| | | | | | * upstream projects need c++, however, stage3 is still the default Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* sys-devel/crossdev: fix silly typo in link targetSteve Arnold2017-10-141-2/+2
| | | | Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* Revert "ROOT method for glibc."Steve Arnold2017-10-141-8/+2
| | | | This reverts commit d770cdb3feb397cedfdc36ac4b9f07f984152c86.
* sys-devel/crossdev: avr: disable pie, set default stage, make symlinkSteve Arnold2017-10-141-11/+11
| | | | | | more robust Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* sys-devel/crossdev: Fix avr hack, move it inside doemerge blockSteve Arnold2017-10-131-8/+9
| | | | Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* sys-devel/crossdev: add one more avr-specific hackSteve Arnold2017-10-121-1/+11
| | | | | | * link ldscripts to the right place (parameterized and expandable even) Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* sys-devel/crossdev: add fixes for several bugs and patchesSteve Arnold2017-10-121-1/+9
| | | | | | | | | | | | * pull in EPREFIX/ROOT fixes from heroxbd on github * includes portage patch for functions path * add snippet to force multilib on for avr targets see: https://github.com/heroxbd/crossdev https://bugs.gentoo.org/show_bug.cgi?id=378387 http://forum.arduino.cc/index.php?topic=93672.0 Signed-off-by: Steve Arnold <nerdboy@gentoo.org>
* ROOT method for glibc.Benda Xu2016-06-261-2/+8
|
* crossdev: use new path for functions.shBenda Xu2016-06-251-1/+1
|
* prefixify build system and scripts.XU Benda2016-06-257-27/+44
|
* config.site: add musl libc supportAndrew Wilcox2016-06-021-0/+1
| | | | | | | This way you can support glibc and musl targets on the same system and not have to worry about switching out site scripts. URL: https://bugs.gentoo.org/554032
* crossdev: handle new gcc USE=vtv flagMike Frysinger2016-06-021-1/+1
| | | | | | | Make sure we mask it out in the first pass. URL: https://bugs.gentoo.org/582582 Reported-by: Doug Goldstein <cardoe@gentoo.org>
* crossdev: catch more mkdir/write failuresMike Frysinger2016-06-021-8/+9
|
* crossdev: make multilib eclass loading/parsing more robustMike Frysinger2016-06-021-4/+7
| | | | | | | | | Be a bit more proactive in detecting errors so we don't hit another infinite loop. URL: https://bugs.gentoo.org/531044 Reported-by: Ulrar <lemonnier.k@gmail.com> Reported-by: Samuel Loewen <samuellwn@gmail.com>
* crossdev: handle multiple repos at same prio levelMike Frysinger2016-06-021-3/+10
| | | | | | | | | | | This helps fix an infinite recursion issue when trying to load the multilib eclass environment. URL: https://bugs.gentoo.org/531044 URL: https://bugs.gentoo.org/540586 Reported-by: Ulrar <lemonnier.k@gmail.com> Reported-by: Malte Starostik <bugs@xodtsoq.de> Reported-by: Samuel Loewen <samuellwn@gmail.com>
* cross-pkg-config: fix typo w/pkg_configMike Frysinger2016-01-161-1/+1
| | | | | | URL: https://bugs.gentoo.org/570762 Reported-by: Fabio Rossi <rossi.f@inwind.it> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: source only once user env settingsBertrand Jacquin2015-10-261-5/+5
| | | | | | | | | | | | | | | | | | When /etc/portage/crossdev/${CTARGET} exist, the output looks like: * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings * Restoring generic user env settings Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: clean up binutils dwp program when uninstallingAlexander Tsoy2015-10-151-1/+1
| | | | | | URL: https://bugs.gentoo.org/562522 Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: fix gensub 3rd argMike Frysinger2015-08-121-1/+1
| | | | | | | Newer gawk points out that the 3rd arg to gensub should be a string with either "g" or "G", or should be a number. An empty string is invalid. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: handle LDFLAGS tooJoakim Tjernlund2015-07-221-2/+3
| | | | | | | BUILD_LDFLAGS was missing, add it too. Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: punt berkdb cache valuesMike Frysinger2015-07-162-40/+0
| | | | | | | | | | Most of these no longer exist (and were somewhat invalid to begin with), and the package appears to do the right thing now with the various tests (like falling back to link/compile tests when run fails). Punt them all. URL: https://bugs.gentoo.org/516642 Reported-by: Scott Alfter <scott@alfter.us> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: support repo-name in layout.confMike Frysinger2015-06-021-2/+5
| | | | | | | When building repos that only use repo-name in layout.conf, crossdev does not properly build the masters setting for its own layout.conf. Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: import settings from Chromium OSMike Frysinger2015-05-303-1/+9
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: fix sizes of some typesMike Frysinger2015-05-301-2/+2
| | | | | | URL: https://bugs.gentoo.org/550776 Reported-by: Sven E. <dark@verfeiert.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: use qmerge for unmerging packagesMike Frysinger2015-05-301-9/+2
| | | | | | | | The latest version of qmerge should be reliable when it comes to unmerge, so start using that when uninstalling targets. It's significantly faster than emerge. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: fix site accumulation yet some moreMike Frysinger2015-05-271-6/+6
| | | | | | | | The previous commit was supposed to include globs at the end of the targets but forgot to add while also splitting. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: fix site accumulation some moreMike Frysinger2015-05-261-0/+3
| | | | | | | | The previous code also relied on partial substrings so that linux-gnueabi would load both linux-gnu and linux-gnueabi. Restore that logic as well. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* config.site: fix site accumulationMike Frysinger2015-05-251-6/+6
| | | | | | | | The POSIX rewrite accidentally dropped the appending logic so all the `site+=...` changed to `site=...`. Restore that. URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@chromium.org>
* crossdev: add support for linking & building extra packagesMike Frysinger2015-05-211-0/+46
| | | | | | | | | | Add a set of extra package flags so people can throw in arbitrary sets of packages after the toolchain is complete. This requires the package to be aware of the CTARGET usage, so it can be dangerous when combined with any package in the tree. URL: http://crbug.com/372937 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev/emerge-wrapper: merge repos.conf parsersMike Frysinger2015-05-182-14/+11
| | | | | | | | | | | The crossdev code had a more full-featured parser of the repos.conf output than the emerge-wrapper. The latter failed to include the last overlay in the list leading to ugly warnings like: /usr/bin/emerge-wrapper: line 48: /eclass/toolchain-funcs.eclass: No such file or directory /usr/bin/emerge-wrapper: line 49: tc-arch: command not found URL: https://bugs.gentoo.org/546748 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: switch nios to mainline packagesMike Frysinger2015-04-181-2/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: drop redundant valuesMike Frysinger2015-02-241-4/+0
| | | | | | The main linux file already sets these /dev tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: set /dev/{ptmx,ptc} tests for Linux systemsMike Frysinger2015-02-241-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* config.site: rewrite in POSIX shellMike Frysinger2014-10-301-25/+27
| | | | | URL: https://bugs.gentoo.org/497626 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: set LIBC=mingw for mingw targetsMike Frysinger2014-10-301-3/+4
| | | | | URL: https://bugs.gentoo.org/340989 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: update msp430 support to use standard binutils/gcc/newlib/gdbTim Harder2014-10-221-11/+7
| | | | | Signed-off-by: Tim Harder <radhermit@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: mask live versions by defaultMike Frysinger2014-10-301-0/+5
| | | | | | | | When users use something like '>=2.24', they don't want to also unmask the 9999 versions, so add that to package.mask by default. They can get that version only if they explicitly request it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: improve warning messagesMike Frysinger2014-10-301-7/+9
| | | | | | The current output isn't clear as to what is wrong. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-pkg-config: avoid bashismMike Frysinger2014-10-301-1/+1
| | | | | URL: https://bugs.gentoo.org/525068 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: disable USE=sanitize during gcc stage1Mike Frysinger2014-10-301-1/+1
| | | | | URL: https://bugs.gentoo.org/525910 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: drop automatic fakeroot usageJoakim Tjernlund2014-09-181-6/+1
| | | | | | | | | | Portage is not designed to run wrapped in fakeroot. Instead one should set FEATURES="fakeroot". Wrapping emerge with fakeroot triggers emerge to disable fakeroot. URL: https://bugs.gentoo.org/489016 URL: https://bugs.gentoo.org/523098 Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* cross-pkg-config: probe pkgconfig dir directlyMike Frysinger2014-09-171-2/+2
| | | | | | | | Since we're looking for the pkgconfig dir, let's probe it directly rather than rely on specific C library files. URL: https://bugs.gentoo.org/518790 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* switch from PORTDIR/PORTDIR_OVERLAY to repositories_configurationMike Frysinger2014-09-172-23/+74
| | | | | URL: https://bugs.gentoo.org/520880 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: set repo-name in generated layout.confMike Frysinger2014-09-171-2/+11
| | | | | URL: http://crbug.com/415246 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-pkg-config: set up PKG_CONFIG_SYSTEM_LIBRARY_PATHMike Frysinger2014-07-291-3/+21
| | | | | | | Rather than hardcode /usr/lib, set PKG_CONFIG_SYSTEM_LIBRARY_PATH to the right libdir paths. This should handle lib vs lib64 vs lib correctly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>