summaryrefslogtreecommitdiff
path: root/Makefile.cross
AgeCommit message (Collapse)Author
2020-05-30Initial set of changes to build powerpc64 toolchain.Dale Rahn
Disable PIC/PIE for powerpc64 for now.
2019-11-07Simplify by getting rid of the unecessary 'depend' rule.Martin Pieuchot
ok patrick@
2019-10-18Add mips64el to LP64_ARCH.Visa Hankala
OK patrick@
2019-10-14Re-sort the if-sequence which sets COMPILER_VERSION to be the samePatrick Wildt
as bsd.own.mk, otherwise on transitioning architectures the wrong compiler is chosen. Also make sure BUILD_CLANG is forced for the libcompiler_rt directory since cross-compiling with two possible compilers would create too much headache.
2019-10-14Fix whitespace issuesPatrick Wildt
2019-10-14powerpc cross-compilation on 64-bit hosts also appears to be safe.Patrick Wildt
2019-10-14Pass LINKER_VERSION to binutils and clang cross-build so that theyPatrick Wildt
know who the system linker is.
2019-05-22Fix malformed conditional after socppc removal.Patrick Wildt
From Krystian Lewandowski
2019-05-11socppc makes an extended visit to the bigbucket.Theo de Raadt
ok kettenis
2018-02-04Don't assume that we use LLVM's ld(1) if we use clang(1) as main systemPatrick Wildt
compiler. Only handle this case when LLD was actually installed during the cross-compiler setup. Unbreaks armv7 after switching to clang since it uses binutils' ld(1).
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