Commit Graph

122 Commits

Author SHA1 Message Date
matt 592025efa0 Only support oabi for earm* 2015-05-27 15:35:23 +00:00
martin f839e3925f Fix broken subdir selection after arm architecture explosion 2015-05-25 12:42:26 +00:00
matt e0e6345e09 Add RISC-V support 2014-09-19 17:38:46 +00:00
matt 6cf6fe02a9 New files for Userland support of UCB RISC-V (both 32-bit and 64-bit) 2014-09-19 17:36:24 +00:00
matt a5887d4e99 Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
use the proper variant of arm*--netbsdelf-eabihf
2014-09-10 22:43:36 +00:00
matt f659dce042 Add
LDFLAGS+=              -Wl,-m,elf32ppc_nbsd
2014-08-23 02:20:55 +00:00
matt 72b4106e92 Fix else if botch 2014-08-11 04:33:30 +00:00
matt 04ea670ded Add compat dirs for aarch64 2014-08-10 23:40:33 +00:00
matt 7b20bc5be5 MKCOMPAT fixes for aarch64 2014-08-10 23:26:25 +00:00
matt b451be7021 No need for LDFLAGS 2014-03-07 05:48:30 +00:00
matt 18aa205b7e Add MKCOMPAT support for powerpc64. 2014-03-07 04:16:25 +00:00
joerg 69fd5d473d Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
matt 520583e243 MKCOMPAT support for earm. 2013-04-27 08:44:35 +00:00
matt eed2e00265 Define LIBGCC_MACHINE_ARCH so correct files are used o32 libgcc. 2013-02-14 09:22:18 +00:00
joerg 067600c8cf Revert last, it breaks the tricks xsrc uses. 2012-08-23 21:21:14 +00:00
joerg 8e96262375 Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
joerg 933525b99b Implement build_install in src/lib/Makefile, which traverses the
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.

Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00
matt 4d4aee085b Initial MKCOMPAT support for ARM EABI. (doesn't quite work right) 2012-08-03 08:02:47 +00:00
wiz cbdb6a1f71 Fix typos; wording.
From patch by Bug Hunting.
2012-03-29 18:35:11 +00:00
mrg e9341e1933 build compat versions of libgomp for everything except mips N64 (for now.) 2011-09-23 06:44:36 +00:00
mrg 3f11e25c49 build GMP, MPFR and MPC as private libraries just for GCC. don't
install the headers or librarys into the system.

someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc.  not convinced it is worth it.
2011-07-21 03:13:30 +00:00
mrg c590ede942 make mips64 builds of gmp and mpfr work including compat libs. 2011-07-10 03:05:33 +00:00
mrg 4bd91dda69 the gmp/mpfr subdirs are mipsel/mipseb. 2011-07-04 12:00:49 +00:00
mrg 95be9d4b80 - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
2011-07-01 01:30:16 +00:00
mrg c1c3cc3782 avoid adding -m32 to various variables multiple times aka, multiple inclusions. 2011-06-18 01:22:34 +00:00
mrg df0710a4ad catch up with s/MAKEDIROBJPREFIX/MAKEOBJDIR/ changes in comments. 2011-04-17 01:29:06 +00:00
matt 342cb4ea9b if using MAKEOBJDIRPREFIX, make sure to unset it since it would override
the use of MAKEOBJDIR.
2011-01-31 10:58:14 +00:00
matt 2f7e00c1c8 Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX 2011-01-20 18:43:52 +00:00
plunky f33b316b63 Remove the do-external-lib and do-gnu-lib targets, along with
external/lib/Makefile and crypto/external/lib/Makefile, replacing
them all with SUBDIRs directly from lib/Makefile.

compat/compatsubdirs.mk becomes simpler now, as everything is built
from lib/Makefile, meaning all the libraries will now be built under
compat so update the set lists to account for that.
2010-12-03 21:38:46 +00:00
mrg 8c7bf08190 delete a file that never did anything in -current. 2010-11-27 23:08:45 +00:00
joerg b1de0a15dc Hook up xz into the build system. 2010-11-02 16:34:33 +00:00
mrg 4f6d9f583c update this to reality a little. 2010-06-30 03:28:01 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos ba4446b975 Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386 2009-12-19 04:11:32 +00:00
christos e9c4fabb38 Don't use ${NETBSDSRCDIR}. It might not be set yet. 2009-12-19 00:15:13 +00:00
mrg d7c5c26d66 add iscsi/lib 2009-12-15 05:23:25 +00:00
mrg 5f0379f3ef don't build atf, openldap or binutils if their MK* == "no". 2009-12-15 04:12:43 +00:00
mrg 39ffb8df8d fix the previous: default the target depending the MACHINE_ARCH. 2009-12-15 04:05:34 +00:00
uebayasi 7400b90cd7 Use GNU linker emul names which really exist.
XXX Assume big endian for now.  Better than build failure.
2009-12-14 13:43:59 +00:00
snj 6066e382dc Fix a few typos. 2009-12-13 17:58:27 +00:00
mrg af35c52924 these files are no longer used and may now rest and bitrot without
hurting anyone...
2009-12-13 09:33:08 +00:00
mrg 3ad6dcd150 update this to reflect all the changes in src/compat version 2.0 2009-12-13 09:27:57 +00:00
mrg cbad3a4a7f - move -m32 style compat into "m32.mk"
- new Makefile.compat has mostly only the basics now
2009-12-13 09:27:34 +00:00
mrg d752305b9d - move the per-platform subdir list into archdirs.mk
- move the per-ABI subdir list into compatsubdir.mk.  use the new
MAKEDIRTARGETENV support to force a new objdir for compat library builds,
and simply traverse over the normal src path once for each ABI to be
built.  this eliminates all the shadow Makefile's for every library, and
allows multiple compat ABIs to be built for a single platform, such as
both o32 and n64 for mips64's default n32.
- compat/Makefile is merely a subdir provider now, and takes the real
information from archdirs.mk
2009-12-13 09:27:13 +00:00
mrg 9f8de6e95c a hack to force the top-level compat objdir to be created before the
library ones are.  the Makefile has a long description of what's
really going on here.
2009-12-13 09:25:57 +00:00
mrg c410a53a8b for each $MACHINE_ARCH we have compat libraries to build for, give a list
of ABIs to target.  for amd64 and sparc64, we use the old i386 and sparc
subdirectories.  for mips64, we build both o32 and n64 libraries.

these files are not yet used, but will be shortly.
2009-12-13 09:07:32 +00:00
mrg f7f0bc40ae rename LD32DIR to MLIBDIR. 2009-12-13 08:25:20 +00:00
njoly 3bc05604d9 Regen for NOLINKLIB. 2009-11-09 15:49:35 +00:00
njoly da3e305b1e - Add external/gpl3/binutils/lib to the directory list.
- libbfd require NOLINKLIB.
2009-11-09 15:46:04 +00:00
plunky 212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +00:00