summaryrefslogtreecommitdiff
path: root/Makefile.cross
AgeCommit message (Collapse)Author
2017-09-23Compile the cross-compiler in the target's objdir instead of pollutingPatrick Wildt
the host's. This also allows compiling multiple toolchains in parallel. Clean up the clang object files afterwards so it doesn't collide with the cross-compiled compiler build.
2017-09-12Fix cross-compiling GCC toolchains on Clang archs.Martin Pieuchot
ok patrick@
2017-08-11Fix cross builds: no clang depend target, no DESTDIR on HOSTCC buildDale Rahn
ok patrick@
2017-06-08Pass CC and CXX to make depend as well. As soon as we supportPatrick Wildt
dependencies in the clang makefiles we need to make sure to use a compiler that supports C++11.
2017-05-23Adjust cross-toolchain environment to the changes in the clang buildPatrick Wildt
fabric. Since we now also build and use LLVM's lld we can copy lld to the proper directory akin to what we do with clang. Build compiler-rt early as it is needed for building libc. "go for it" mpi@
2017-03-21Export CROSSDIR so that the two users (ld.so and binutils) of thatPatrick Wildt
variable actually work correctly. While there, adjust a bit for consistency. "nobody will complain if you break it ;)" kettenis@
2017-01-27We can now build parts of binutils on aarch64 so enable cross-binutilsJonathan Gray
again. ok patrick@
2017-01-20Adjust cross-compilation infrastructure to cope with builduserPatrick Wildt
permission requirements. From Dale Rahn. ok tb@ "commit it" guenther@
2017-01-04With clang as cross-compiler we need to tell it where our crossPatrick Wildt
directory is so that the correct include and library paths are used. For this we create a simple wrapper that calls clang in the correct mode and also passes the sysroot. ok kettenis@
2016-12-18Implement support for cross-compiling arm64 in Makefile.cross. ThisPatrick Wildt
adds code to build clang as cross-compiler instead of gcc. Since we don't have binutils for aarch64 in base, skip the binutils cross- toolchain build for that architecture. ok kettenis@
2016-09-23Unhook sqlite3.Stuart Henderson
2016-09-03Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenPhilip Guenther
shortly when we use the hardware thread register in userland
2016-08-10armish handled some early-gen arm machines, which required tons ofTheo de Raadt
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go.
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2015-12-08Restore parenthesisTobias Ulmer
2015-12-01Send solbourne to where the ...........Theo de Raadt
2015-12-01Send Aviion to same place as Nova IITheo de Raadt
discussed with jsg
2015-11-14libocurses can go to the Attic. last consumer of it was ramdisk more(1)Theo de Raadt
conceptual ok guenther millert nicm
2015-11-10Always honor ${DESTDIR}. OK miod@Masao Uebayashi
2015-06-05Use target BSDOBJDIR when cross-compiling librariesTobias Ulmer
ok mpi@
2015-06-01Now that we do not need to build binutils 2.15 (except for gdb), simplify theMiod Vallat
build logic.
2015-05-28Invert the binutils 2.17 logic to only list non-2.17 platforms.Miod Vallat
2015-02-08Fix cross-build. OK jsing@ miod@ guenther@ deraadt@Masao Uebayashi
2014-10-09Remove the last gzsig tendrilLawrence Teo
2014-08-24more NO_CROSSTheo de Raadt
2014-07-16lynx will go to ports. there are too many reasons for it to go there,Theo de Raadt
and not enough for it to stay. lengthy discussions.
2014-05-09Make sure to override PIE_DEFAULT when building a cross-gcc4Miod Vallat
2014-04-23Remove more Kerberos cruft.Antoine Jacoutot
ok jca@ jmc@
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-09-04Beagle has been replaced by armv7.Patrick Wildt
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-07-06tabs got lost in previous revMiod Vallat
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-04-04remove BIN{MODE,GRP,OWN} since bsd.own.mk is already included.Jasper Lievisse Adriaanse
ok bmercer@
2013-03-25gumstix was never finishedTheo de Raadt
2013-03-25the unused palm code goes away.Theo de Raadt
2013-03-10Allow the PIE/NOPIE variables in bsd.own.mk to be overriden. Force properMiod Vallat
values in Makefile.cross to make sure binutils are built with the proper PIE_DEFAULT value for the target. ok millert@ deraadt@
2013-02-02m68k ports are now ELF citizens.Miod Vallat
2013-01-05Switch m88k ports to ELF.Miod Vallat
2012-11-13Pass -DOPENBSD_CROSS to CFLAGS when cross-compiling gcc2. Temporary bandaidMiod Vallat
until we get rid of it. Soon.
2012-11-13Make COMPILER_VERSION a definitive assignment in there, for it to overrideMiod Vallat
<bsd.own.mk>. Allows cross-gcc to be built on a host using a different compiler version than the target.
2012-08-23no need to know about afs, since it is goneTheo de Raadt
2012-08-14Garbage collect the USE_GCC variables; everything usesMatthew Dempsky
COMPILER_VERSION now. From Brad.
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2012-07-13Add sqlite3 to NO_CROSS since it depends on libreadline - this would thenJoel Sing
require cross-gnu to build before we can build cross-bin.
2012-06-20more mac68k bits for the atticMatthew Dempsky
2012-04-06Do not try to cross build nginx, since it does not work.Joel Sing
2011-11-12- add avr32 which'll use gcc4/binutils-2.17Jasper Lievisse Adriaanse
- remove BINUTILS217_ARCH from Makefile.cross as bsd.own.mk is included there (requested by drahn@) ok drahn@ deraadt@
2011-11-11Allow 64bit -> arm cross compilation as it appears safe (amd64 -> arm at least)Dale Rahn
include bsd.own.mk to get the correct compiler architectures (if only Makefile.cross is used)