aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* cross-pkg-config: utilize PKG_CONFIG_SYSROOT_DIRMike Frysinger2014-07-281-15/+3
| | | | | | | | | Now that the 0.24 release has been out for a few years, we can start relying on its availability. URL: https://bugs.gentoo.org/517530 Reported-by: Mike Marineau <mike@marineau.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: drop duplicated socket logicMike Frysinger2014-07-281-4/+0
| | | | | | | | The core linux-gnu site had its abstract sockets set to yes, but the mips one was specifically setting it to no. Drop the mips code. URL: http://crbug.com/394181 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-pkg-config: minor style fix upMike Frysinger2014-03-271-5/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make.conf: drop the hardcore embedded settingsMike Frysinger2014-01-181-5/+2
| | | | | | | | If people want these settings, they can use the embedded profile. Instead, provide more reasonable USE/CFLAGS settings out of the box. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: mark the C library/linux-headers as provided in the sysrootMike Frysinger2014-01-181-0/+9
| | | | | | | | Since the cross-xxx/{glibc,linux-headers} packages are installed into the sysroot, we don't want to try and install them in here too as they'll run into file collisions. So automatically add them to package.provided. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: use new arm64 KEYWORDMike Frysinger2014-01-141-1/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* wrappers: drop UCLIBC_CPU supportMike Frysinger2013-12-222-10/+1
| | | | | | | | We've deleted most of this from the uclibc ebuilds and have been pushing people to use CFLAGS for optimization selection. Drop the logic from here too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* wrappers: drop custom bashrc/e_machine logicMike Frysinger2013-12-223-35/+0
| | | | | | | | Cross-compiling logic has largely stabilized enough now that we don't need this post-install hack to keep things sane. Plus, if you install a package that doesn't cross-compile properly, you'll notice pretty quickly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: drop "wrap all targets" logicMike Frysinger2013-12-221-17/+7
| | | | | | | We don't really need to do this anymore as crossdev will initialize things automatically for you now. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make.profile: move from /etc to /etc/portageJoakim Tjernlund2013-12-222-2/+2
| | | | This is where make.profile belongs in current portage
* crossdev: disable openmp for newlib targetsMike Frysinger2013-11-071-0/+1
| | | | | URL: https://bugs.gentoo.org/489798 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: add nds32 arch parsingVincent Palatin2013-11-071-1/+2
| | | | | | | Yet another newlib based arch. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: update --ov-output help string to match latest behaviorMike Frysinger2013-10-121-1/+3
| | | | | | URL: https://bugs.gentoo.org/486422 Reported-by: Alon Bar-Lev <alonbl@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: mips: select default ABI based on targetMike Frysinger2013-10-111-0/+8
| | | | | | | Key off some of the targets that glibc itself uses to autoselect the default ABI. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: fix incorrect popd usageMike Frysinger2013-10-111-1/+1
| | | | | | It doesn't take any arguments. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: look up default crossdev overlays with `portageq get_repo_path`Mike Frysinger2013-09-291-3/+14
| | | | | | | | | This lets people name the overlays explicitly and crossdev will pick that up by name. URL: https://bugs.gentoo.org/486422 Reported-by: Alon Bar-Lev <alonbl@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: avr: disable go tooMike Frysinger2013-06-281-1/+1
| | | | | | It's not supported for this target. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: add tile to the mixMike Frysinger2013-06-281-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: disable go for stage1 gcc buildsMike Frysinger2013-04-191-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: fix bug in alias processingMike Frysinger2013-03-281-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: set up categories in the output overlay tooMike Frysinger2013-03-281-8/+10
| | | | | | | | | | For tools that operate on the repo level (like egencache), make sure we have a categories file set up in there since they won't search the /etc/portage system path. URL: http://bugs.gentoo.org/460106 Reported-by: Dennis Schridde <devurandom@gmx.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: unify alias handling, and add a mingw64 aliasMike Frysinger2013-02-181-9/+19
| | | | | | URL: http://bugs.gentoo.org/457838 Reported-by: Dennis Schridde <devurandom@gmx.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: stop setting up make.globalsMike Frysinger2013-01-281-7/+0
| | | | | | Portage will take care of this itself internally. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: add support for musl targets/libcLuca Barbato2012-12-251-0/+2
| | | | | | URL: https://bugs.gentoo.org/448592 Signed-off-by: Luca Barbato <lu_zero@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: clean out a few more gcc wrappersMike Frysinger2012-11-181-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: add missing ${NORMAL} to help textMike Frysinger2012-11-111-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: fix typos in arch/chost initMike Frysinger2012-11-051-1/+1
| | | | | | | We are trying to get the build settings of the vars, so make sure we unset those and not the local cached ones. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: expand aarch64 as linux targetsMike Frysinger2012-10-011-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* check for .git before setting up $PVMike Frysinger2012-09-131-1/+1
| | | | | | This avoids ugly warnings during `make install`. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: handle aarch64Mike Frysinger2012-09-131-1/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* crossdev: enable multilib by default for bare-metal targetsMike Frysinger2012-08-301-0/+3
| | | | | | | | | | | | | | | Bare metal targets often times use multilib to support a variety of sub-targets with gcc. Since we just need the compiler to produce these extra libs and objs, enable multilib by default for all bare metal targets. For ones that don't care about multilib, this should be a nop. URL: https://bugs.gentoo.org/377039 URL: https://bugs.gentoo.org/407275 Reported-by: Michael Moon <triffid.hunter@gmail.com> Reported-by: Sven <sven.koehler@gmail.com> Tested-by: Tim Harder <radhermit@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make.conf: do no set LIBDIR anymoreMike Frysinger2012-08-211-3/+0
| | | | | | | | The main crossdev process handles multilib for us now. URL: https://bugs.gentoo.org/432084 Reported-by: Dennis Schridde <devurandom@gmx.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>