aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* 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/emerge-wrapper: merge repos.conf parsersMike Frysinger2015-05-181-14/+1
| | | | | | | | | | | 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>
* 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>
* 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>
* 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-171-2/+17
| | | | | URL: https://bugs.gentoo.org/520880 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>
* wrappers: drop UCLIBC_CPU supportMike Frysinger2013-12-221-6/+0
| | | | | | | | 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
* 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>
* 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>
* config.site: do not cache values for native buildsMike Frysinger2012-07-211-1/+2
| | | | | | | | | | Since configure settings can change over time, we don't want crossdev accidentally breaking native builds when its only designed to fix up cross builds. URL: https://bugs.gentoo.org/427184 Reported-by: Justin Lecher <jlec@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: copy screen cache vals into all linux targetsMike Frysinger2012-04-032-0/+22
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make.conf: drop -I/-L hardcodes to sysrootMike Frysinger2012-03-071-2/+1
| | | | | | | | | | The sysroot in the toolchain itself should be able to locate the headers and libraries just fine. Using -L/-I breaks the search order for some applications. URL: http://bugs.gentoo.org/364003 Reported-by: Joerg Faschingbauer <joerg.faschingbauer@aon.at> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: add a common linux-gnu cacheMike Frysinger2012-03-051-0/+69
| | | | | | Cherry picked from ChromeOS overlay. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-pkg-config: use SYSROOT from env if setMike Frysinger2012-02-271-17/+19
| | | | | | | | If we already have SYSROOT set in the env, just go with that. This lets us do multiple sysroots-per-target by manipulating the env. Idea based on the work in ChromiumOS. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* portage/env: drop busybox hackMike Frysinger2011-10-181-5/+0
| | | | | | | No need to special case busybox's build settings. Respect whatever the user sets up -- even if it's something dumb. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: optimize/fix portageq usageMike Frysinger2011-10-121-5/+9
| | | | | | | | Only execute portageq once to speed things up, and only remove the variables we are looking up from the env. Using the -i flag makes portage very unhappy when $PATH goes missing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: set abstract sockets to yesMike Frysinger2011-08-181-1/+1
| | | | | | | | | All linux systems should support abstract sockets, so set this to yes for the linux site that enables it. Cherry picked from ChromeOS overlay. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: don't force 64-bit pthread_mutex_t size on other archesDiego Elio Pettenò2011-05-154-1/+3
| | | | | URL: http://bugs.gentoo.org/show_bug.cgi?id=367351 Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
* emerge-wrapper: move files to /etc/portage/Mike Frysinger2011-03-103-3/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* busybox env: fix logic typoMike Frysinger2011-03-101-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* site: punt LFS related typesMike Frysinger2011-03-0910-10/+0
| | | | | | | | Since off_t can change sizes based on the LFS flags in use, we cannot cache its value permanently. URL: http://bugs.gentoo.org/354917 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: use EM_386 for ARCH=x86Mike Frysinger2010-10-271-0/+1
| | | | | | There is no such "EM_X86" machine type. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: restore __CHOST__ replacementSven Rebhan2010-10-271-0/+1
| | | | | | | The rewrite lost the __CHOST__ sed. Signed-off-by: Sven Rebhan <odinshorse@googlemail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* update copyrightsMike Frysinger2010-08-141-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-emerge: lookup CBUILD with a clean envMike Frysinger2010-08-141-2/+4
| | | | | | URL: http://bugs.gentoo.org/331589 Reported-by: Juan P Daza P <tcpip4000@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-wrapper: rewrite & integrate with crossdevMike Frysinger2010-08-102-93/+145
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* disable -q by default in git also.Ned Ludd2010-02-281-1/+1
| | | | Signed-off-by: Ned Ludd <solar@gentoo.org>
* check ROOT == SYSROOT vs EMERGE_FROM != binary so the -g/-G options can also ↵Ned Ludd2010-02-241-3/+2
| | | | | | be used properly. Thanks to msb and tedbo for pointing this out Signed-off-by: Ned Ludd <solar@gentoo.org>
* bashrc: fix cross-fix-root comment to reflect realityMike Frysinger2010-02-211-1/+5
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cross-fix-root: handle no config scripts caseMike Frysinger2010-02-131-0/+1
| | | | | | | If there are no -config scripts to mess with, avoid trying to generate broken symlinks to '*-config'. Signed-off-by: Mike Frysinger <vapier@gentoo.org>