Commit Graph

137 Commits

Author SHA1 Message Date
martin 2722c7e0aa Apply patch, requested by mrg in ticket #1684 (no corresponding
change in HEAD, oabi has been removed):

	compat/arm/oabi/bsd.oabi.mk		(apply patch)

Fix PR 50192.
2021-06-21 17:43:18 +00:00
martin 58f9dbce31 Pull up following revision(s) (requested by simonb in ticket #1646):
external/bsd/ipf/Makefile.inc: revision 1.6
	compat/exec.mk: revision 1.5

Use the compat machinery to build "native" IPF binaries as ipfilter
doesn't use compat32 64-bit alignment/size safe structures.

Fixes IPF on at least mips64.
2021-01-08 13:02:56 +00:00
skrll 7af73afe93 Don't mix abis in any CRUNCHEDPROG 2017-01-05 21:28:42 +00:00
mrg 1383c0c74f build vmstat as n64 on mips64. only kernel histories and hash stats
need to be fixed fot this to be reverted.
2016-12-29 23:42:38 +00:00
mrg 0537635d0c for 64 bit mips platforms where we built userland largely as n32 by
default, build a handful of tools as n64 so they work properly.

unfortunately, they're also static as dynamic n64 has a problem.

of these tools pstat is probably the lowest hanging fruit to convert
to sysctl.  systat would be close were it not for the netstat screen,
which includes netstat itself.

the rest are difficult to perhaps foolish.


the upside is that netstat, pmap and fstat all work properly now.
2016-12-23 10:19:57 +00:00
christos d6ee18cb90 add LIBGCC_MACHINE_ARCH 2016-10-22 20:33:51 +00:00
christos 3e9c9a9b4c set LIBC_MACHINE_ARCH otherwise we don't get 'double' intrinsics. 2016-10-07 19:10:37 +00:00
mrg cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
matt 7514a3a7c6 Make clang happy by adding -mfpu=none to -mfloat-abi=soft 2015-07-05 20:19:29 +00:00
matt 30074b3e8a Add MKCOMPATX11 knob for making X11 compat libraries. 2015-06-27 16:21:07 +00:00
matt 589b128fbc Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
matt f410cbcfe8 Add tests/share/mk and external/bsd/atf/tests/atf for MKCOMPATTESTS 2015-06-22 00:11:33 +00:00
matt 596c50e920 Reduce the amount that's include protected. 2015-06-22 00:09:39 +00:00
matt 2e9f40f3b7 Add support for MKCOMPATTESTS 2015-06-19 18:17:49 +00:00
matt 058cc44625 Prevent multi inclusion 2015-06-19 18:17:26 +00:00
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