Home | History | Annotate | only in /src/compat
History log of /src/compat
RevisionDateAuthorComments
 1.7 29-May-2022  andvar fix various typos in comments and log messages.
 1.6 17-Aug-2012  joerg branches: 1.6.34;
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.
 1.5 13-Dec-2009  mrg branches: 1.5.6;
- 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
 1.4 07-Jun-2009  christos glue in openssh
 1.3 14-Apr-2009  christos Descend into external/lib like the regular external Makefile does, should
make objects properly.
XXX: Now we will descend into lib twice (same as the regular external Makefile
from the top level.
 1.2 14-Feb-2009  abs Use MACHINE_ARCH rather than MACHINE - no functional change
 1.1 26-Oct-2008  mrg branches: 1.1.2; 1.1.4; 1.1.8;
build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.

two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet. see the README
file for mroe details.
 1.1.8.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.8.1 13-Sep-2009  matt Add mips64 support (making n64 libraries) to compat
 1.1.4.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.5.6.1 30-Oct-2012  yamt sync with head
 1.6.34.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.6.34.1 21-Apr-2020  martin Sync with HEAD
 1.1 14-Dec-2009  mrg branches: 1.1.2;
file Makefile.common was initially added on branch matt-nb5-mips64.
 1.1.2.1 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.9 23-Aug-2012  joerg branches: 1.9.34;
Revert last, it breaks the tricks xsrc uses.
 1.8 23-Aug-2012  joerg Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
SHLIBDIR differs from /usr/lib.
 1.7 13-Dec-2009  mrg - move -m32 style compat into "m32.mk"
- new Makefile.compat has mostly only the basics now
 1.6 13-Dec-2009  mrg rename LD32DIR to MLIBDIR.
 1.5 19-May-2009  christos we need SHLINKINSTALLDIR to be /libexec for /bin and /sbin binaries.
 1.4 12-Mar-2009  abs Prefer MACHINE_ARCH to MACHINE in some tests
 1.3 28-Oct-2008  mrg branches: 1.3.2; 1.3.4; 1.3.8;
need to set MKDEPFLAGS to -m32 as well
 1.2 27-Oct-2008  mrg support /usr/lib/<arch>/security/.
 1.1 26-Oct-2008  mrg build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.

two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet. see the README
file for mroe details.
 1.3.8.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.3.8.1 13-Sep-2009  matt Add mips64 support (making n64 libraries) to compat
 1.3.4.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.3.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.9.34.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.9.34.1 21-Apr-2020  martin Sync with HEAD
 1.1 14-Dec-2009  mrg branches: 1.1.2;
file Makefile.m32 was initially added on branch matt-nb5-mips64.
 1.1.2.1 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1 14-Dec-2009  mrg branches: 1.1.2;
file Makefile.md_subdir was initially added on branch matt-nb5-mips64.
 1.1.2.3 21-Apr-2010  matt sync to netbsd-5
 1.1.2.2 27-Jan-2010  matt Make compat build more tolerant of large number of parallel jobs
 1.1.2.1 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.9 04-Feb-2024  mrg update my email address.
 1.8 29-Mar-2012  wiz branches: 1.8.34;
Fix typos; wording.

From patch by Bug Hunting.
 1.7 17-Apr-2011  mrg branches: 1.7.4;
catch up with s/MAKEDIROBJPREFIX/MAKEOBJDIR/ changes in comments.
 1.6 30-Jun-2010  mrg update this to reality a little.
 1.5 13-Dec-2009  snj Fix a few typos.
 1.4 13-Dec-2009  mrg update this to reflect all the changes in src/compat version 2.0
 1.3 13-Jan-2009  jmmv Fix typo.
 1.2 27-Oct-2008  mrg branches: 1.2.2; 1.2.6;
update this to match reality.
 1.1 26-Oct-2008  mrg build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.

two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet. see the README
file for mroe details.
 1.2.6.1 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.2.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.7.4.1 17-Apr-2012  yamt sync with head
 1.8.34.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.8.34.1 21-Apr-2020  martin Sync with HEAD
 1.14 07-Jun-2021  christos Good bye oabi! Tested building earmv7hf.
 1.13 25-Apr-2021  christos mips64 -> o32 64
mipsn64 -> o32 n32
 1.12 13-Jun-2019  christos make all lines look the same, and put one arch per line.
 1.11 16-Jul-2018  christos gcc aarch64 does not have multilib
 1.10 27-May-2015  matt branches: 1.10.14; 1.10.16;
Only support oabi for earm*
 1.9 25-May-2015  martin Fix broken subdir selection after arm architecture explosion
 1.8 19-Sep-2014  matt Add RISC-V support
 1.7 10-Sep-2014  matt Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
use the proper variant of arm*--netbsdelf-eabihf
 1.6 11-Aug-2014  matt branches: 1.6.2;
Fix else if botch
 1.5 10-Aug-2014  matt Add compat dirs for aarch64
 1.4 07-Mar-2014  matt Add MKCOMPAT support for powerpc64.
 1.3 27-Apr-2013  matt MKCOMPAT support for earm.
 1.2 03-Aug-2012  matt branches: 1.2.2;
Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.8;
- 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
 1.1.8.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.8.1 30-Oct-2012  yamt sync with head
 1.1.2.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.1.2.1 13-Dec-2009  riz file archdirs.mk was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.2.2.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.1 23-Jun-2013  tls resync from head
 1.6.2.1 01-Jun-2015  snj Pull up following revision(s) (requested by martin in ticket #816):
compat/archdirs.mk: revisions 1.7, 1.9, 1.10
compat/arm/eabihf/bsd.eabihf.mk: revision 1.2
external/gpl3/gcc/dist/gcc/config.gcc: revision 1.33
external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h: revision 1.14
external/gpl3/gcc/dist/gcc/config/arm/t-netbsdeabi: revision 1.1
Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
--
use the proper variant of arm*--netbsdelf-eabihf
--
Fix broken subdir selection after arm architecture explosion
--
Only support oabi for earm*
--
Make MULTILIBS work for oabi
 1.10.16.4 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.10.16.3 21-Apr-2020  martin Sync with HEAD
 1.10.16.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.10.16.1 10-Jun-2019  christos Sync with HEAD
 1.10.14.1 28-Jul-2018  pgoyette Sync with HEAD
 1.11 13-Dec-2009  mrg these files are no longer used and may now rest and bitrot without
hurting anyone...
 1.10 09-Nov-2009  njoly - Add external/gpl3/binutils/lib to the directory list.
- libbfd require NOLINKLIB.
 1.9 02-Nov-2009  plunky switch build to use libevent-1.4.12-stable from external
 1.8 21-Jul-2009  mrg do not need the postfix libraries.
 1.7 21-Jul-2009  mrg fix the generated from id.
don't generate some subdir makefiles.
 1.6 21-Jul-2009  mrg bring this much closer to reality:

- add many subdirs of libs missing
- output a literal $NetBSD$ as well as the expanded version of this script
- special case a bunch of the external subdirs, since some of the library
subdirs exist in toplevel directory, not the "lib" directory
 1.5 19-Jan-2009  jmmv Generate compatibility Makefiles for the libraries provided by ATF.
 1.4 27-Oct-2008  mrg branches: 1.4.2; 1.4.6;
- add lib/libpam/modules
- fix ipsec special case
 1.3 27-Oct-2008  mrg parse LIBDPLIBS out of each subdir Makefile, and set it in the compat
Makefile if so. force early eval of LIBDPLIBS. now compat libs that
need to link against other libs will find them at build time.
 1.2 26-Oct-2008  mrg make this almost output almost identical to what is about to be checked in.
 1.1 26-Oct-2008  mrg build 32 bit compat libraries and ld.elf_so for amd64 and sparc64 builds.

two issues remain:
- LIBDPLIBS isn't working correctly, requiring hand-holding builds
- libc, libipsec, and libpcap have yacc issues, also requiring hand holding


ideally this will be replaced with a better method that can handle more
than one compat target, but i can't get that working yet. see the README
file for mroe details.
 1.4.6.1 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.4.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.13 23-Jul-2015  mrg branches: 1.13.16;
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.)
 1.12 27-Jun-2015  matt Add MKCOMPATX11 knob for making X11 compat libraries.
 1.11 24-Jun-2015  matt 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}
 1.10 22-Jun-2015  matt Add tests/share/mk and external/bsd/atf/tests/atf for MKCOMPATTESTS
 1.9 19-Jun-2015  matt Add support for MKCOMPATTESTS
 1.8 17-Aug-2012  joerg 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.
 1.7 31-Jan-2011  matt branches: 1.7.4;
if using MAKEOBJDIRPREFIX, make sure to unset it since it would override
the use of MAKEOBJDIR.
 1.6 20-Jan-2011  matt Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX
 1.5 03-Dec-2010  plunky branches: 1.5.2; 1.5.4;
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.
 1.4 02-Nov-2010  joerg Hook up xz into the build system.
 1.3 15-Dec-2009  mrg add iscsi/lib
 1.2 15-Dec-2009  mrg don't build atf, openldap or binutils if their MK* == "no".
 1.1 13-Dec-2009  mrg - 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
 1.5.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.5.2.3 07-Jan-2011  riz Clean up for ticket #1499 - doubled content, not sure how it happened.
 1.5.2.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.5.2.1 03-Dec-2010  riz file compatsubdir.mk was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.7.4.1 30-Oct-2012  yamt sync with head
 1.13.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.13.16.1 21-Apr-2020  martin Sync with HEAD
 1.7 13-May-2023  riastradh compat: Nix trailing whitespace.

No functional change intended.
 1.6 31-May-2021  simonb MIPS n64 dynamic binaries have worked for a while now, remove -static
for these.
 1.5 05-Jan-2021  simonb branches: 1.5.2;
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.
 1.4 20-Sep-2018  macallan branches: 1.4.2;
don't build kernel grovelling tools as n64 on sgimips - we don't actually have
n64 kernels there. Yet.
 1.3 05-Jan-2017  skrll branches: 1.3.2; 1.3.8; 1.3.14; 1.3.16;
Don't mix abis in any CRUNCHEDPROG
 1.2 29-Dec-2016  mrg build vmstat as n64 on mips64. only kernel histories and hash stats
need to be fixed fot this to be reverted.
 1.1 23-Dec-2016  mrg 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.
 1.3.16.3 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.3.16.2 21-Apr-2020  martin Sync with HEAD
 1.3.16.1 10-Jun-2019  christos Sync with HEAD
 1.3.14.1 30-Sep-2018  pgoyette Ssync with HEAD
 1.3.8.1 08-Jan-2021  martin 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.
 1.3.2.2 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.3.2.1 05-Jan-2017  pgoyette file exec.mk was added on branch pgoyette-localcount on 2017-01-07 08:53:41 +0000
 1.4.2.1 08-Jan-2021  martin Pull up following revision(s) (requested by simonb in ticket #1183):

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.
 1.5.2.1 31-May-2021  cjep sync with head
 1.2 18-Jun-2011  mrg branches: 1.2.44;
avoid adding -m32 to various variables multiple times aka, multiple inclusions.
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.6;
- move -m32 style compat into "m32.mk"
- new Makefile.compat has mostly only the basics now
 1.1.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.1.2.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.1.2.1 13-Dec-2009  riz file m32.mk was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.2.44.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.2.44.1 21-Apr-2020  martin Sync with HEAD
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.4; 1.1.52;
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.
 1.1.52.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.52.1 21-Apr-2020  martin Sync with HEAD
 1.1.4.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.1.4.1 13-Dec-2009  riz file Makefile was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file Makefile was added on branch matt-nb5-mips64 on 2009-12-14 06:20:58 +0000
 1.7 22-Oct-2016  christos branches: 1.7.14;
add LIBGCC_MACHINE_ARCH
 1.6 24-Jun-2015  matt branches: 1.6.2;
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}
 1.5 23-Sep-2011  mrg build compat versions of libgomp for everything except mips N64 (for now.)
 1.4 21-Jul-2011  mrg 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.
 1.3 01-Jul-2011  mrg - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
 1.2 19-Dec-2009  christos branches: 1.2.2;
Don't use ${NETBSDSRCDIR}. It might not be set yet.
 1.1 13-Dec-2009  mrg branches: 1.1.2;
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.
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file bsd.i386.mk was added on branch matt-nb5-mips64 on 2009-12-14 06:20:58 +0000
 1.2.2.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.2.2.1 19-Dec-2009  riz file bsd.i386.mk was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.6.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.7.14.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.7.14.1 21-Apr-2020  martin Sync with HEAD
 1.1 03-Aug-2012  matt branches: 1.1.4; 1.1.36;
Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
 1.1.36.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.36.1 21-Apr-2020  martin Sync with HEAD
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 03-Aug-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-10-30 18:46:16 +0000
 1.7 13-May-2023  riastradh compat: Disable relro in 32-bit arm compat.

Not supported by binutils:

ld: warning: -z relro ignored

PR toolchain/57405
 1.6 13-May-2023  riastradh compat: Nix trailing whitespace.

No functional change intended.
 1.5 05-Jul-2015  matt branches: 1.5.16;
Make clang happy by adding -mfpu=none to -mfloat-abi=soft
 1.4 24-Jun-2015  matt 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}
 1.3 10-Aug-2014  matt MKCOMPAT fixes for aarch64
 1.2 27-Apr-2013  matt MKCOMPAT support for earm.
 1.1 03-Aug-2012  matt branches: 1.1.2; 1.1.4;
Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
 1.1.4.3 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.2 30-Oct-2012  yamt sync with head
 1.1.4.1 03-Aug-2012  yamt file bsd.eabi.mk was added on branch yamt-pagecache on 2012-10-30 18:46:17 +0000
 1.1.2.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.1 23-Jun-2013  tls resync from head
 1.5.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.5.16.1 21-Apr-2020  martin Sync with HEAD
 1.1 10-Aug-2014  matt branches: 1.1.4; 1.1.26;
MKCOMPAT fixes for aarch64
 1.1.26.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.26.1 21-Apr-2020  martin Sync with HEAD
 1.1.4.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.1 10-Aug-2014  tls file Makefile was added on branch tls-maxphys on 2014-08-19 23:45:15 +0000
 1.5 13-May-2023  riastradh compat: Disable relro in 32-bit arm compat.

Not supported by binutils:

ld: warning: -z relro ignored

PR toolchain/57405
 1.4 13-May-2023  riastradh compat: Nix trailing whitespace.

No functional change intended.
 1.3 24-Jun-2015  matt branches: 1.3.16;
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}
 1.2 10-Sep-2014  matt Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
use the proper variant of arm*--netbsdelf-eabihf
 1.1 10-Aug-2014  matt branches: 1.1.2; 1.1.4;
MKCOMPAT fixes for aarch64
 1.1.4.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.1 10-Aug-2014  tls file bsd.eabihf.mk was added on branch tls-maxphys on 2014-08-19 23:45:15 +0000
 1.1.2.1 01-Jun-2015  snj Pull up following revision(s) (requested by martin in ticket #816):
compat/archdirs.mk: revisions 1.7, 1.9, 1.10
compat/arm/eabihf/bsd.eabihf.mk: revision 1.2
external/gpl3/gcc/dist/gcc/config.gcc: revision 1.33
external/gpl3/gcc/dist/gcc/config/arm/netbsd-eabi.h: revision 1.14
external/gpl3/gcc/dist/gcc/config/arm/t-netbsdeabi: revision 1.1
Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
--
use the proper variant of arm*--netbsdelf-eabihf
--
Fix broken subdir selection after arm architecture explosion
--
Only support oabi for earm*
--
Make MULTILIBS work for oabi
 1.3.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.3.16.1 21-Apr-2020  martin Sync with HEAD
 1.4 13-May-2023  riastradh compat: Nix trailing whitespace.

No functional change intended.
 1.3 17-Aug-2012  joerg branches: 1.3.34;
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.
 1.2 17-Apr-2011  mrg branches: 1.2.4;
catch up with s/MAKEDIROBJPREFIX/MAKEOBJDIR/ changes in comments.
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.4;
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.
 1.1.4.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.1.4.1 13-Dec-2009  riz file Makefile was added on branch netbsd-5 on 2011-01-06 05:19:55 +0000
 1.1.2.3 27-Jan-2010  matt Make compat build more tolerant of large number of parallel jobs
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file Makefile was added on branch matt-nb5-mips64 on 2009-12-14 06:20:58 +0000
 1.2.4.1 30-Oct-2012  yamt sync with head
 1.3.34.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.3.34.1 21-Apr-2020  martin Sync with HEAD
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.50;
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.
 1.1.50.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.50.1 21-Apr-2020  martin Sync with HEAD
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file Makefile was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.14 09-Jul-2024  rin compat: mips64/64: Try to fix `*_MACHINE_ARCH`; use `mipsn64e[bl]`
 1.13 25-Apr-2021  christos branches: 1.13.8;
mips64 -> o32 64
mipsn64 -> o32 n32
 1.12 06-Feb-2018  mrg branches: 1.12.4;
fix a comment.
 1.11 22-Jun-2015  matt Reduce the amount that's include protected.
 1.10 19-Jun-2015  matt Prevent multi inclusion
 1.9 23-Sep-2011  mrg build compat versions of libgomp for everything except mips N64 (for now.)
 1.8 21-Jul-2011  mrg 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.
 1.7 10-Jul-2011  mrg make mips64 builds of gmp and mpfr work including compat libs.
 1.6 04-Jul-2011  mrg the gmp/mpfr subdirs are mipsel/mipseb.
 1.5 01-Jul-2011  mrg - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
 1.4 19-Dec-2009  christos Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386
 1.3 15-Dec-2009  mrg fix the previous: default the target depending the MACHINE_ARCH.
 1.2 14-Dec-2009  uebayasi Use GNU linker emul names which really exist.

XXX Assume big endian for now. Better than build failure.
 1.1 13-Dec-2009  mrg branches: 1.1.2;
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.
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file bsd.64.mk was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.12.4.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.12.4.1 21-Apr-2020  martin Sync with HEAD
 1.13.8.1 02-Aug-2025  perseant Sync with HEAD
 1.1 25-Apr-2021  christos mips64 -> o32 64
mipsn64 -> o32 n32
 1.2 25-Apr-2021  christos define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
 1.1 25-Apr-2021  christos mips64 -> o32 64
mipsn64 -> o32 n32
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.50;
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.
 1.1.50.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.50.1 21-Apr-2020  martin Sync with HEAD
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file Makefile was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.17 06-May-2025  nia compat/o32: sync with MKRELRO in bsd.own.mk
 1.16 25-Apr-2021  christos branches: 1.16.8;
define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
 1.15 25-Apr-2021  christos mips64 -> o32 64
mipsn64 -> o32 n32
 1.14 07-Oct-2016  christos branches: 1.14.14;
set LIBC_MACHINE_ARCH otherwise we don't get 'double' intrinsics.
 1.13 24-Jun-2015  matt branches: 1.13.2;
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}
 1.12 22-Jun-2015  matt Reduce the amount that's include protected.
 1.11 19-Jun-2015  matt Prevent multi inclusion
 1.10 14-Feb-2013  matt Define LIBGCC_MACHINE_ARCH so correct files are used o32 libgcc.
 1.9 23-Sep-2011  mrg branches: 1.9.2; 1.9.8;
build compat versions of libgomp for everything except mips N64 (for now.)
 1.8 21-Jul-2011  mrg 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.
 1.7 10-Jul-2011  mrg make mips64 builds of gmp and mpfr work including compat libs.
 1.6 04-Jul-2011  mrg the gmp/mpfr subdirs are mipsel/mipseb.
 1.5 01-Jul-2011  mrg - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
 1.4 19-Dec-2009  christos Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386
 1.3 15-Dec-2009  mrg fix the previous: default the target depending the MACHINE_ARCH.
 1.2 14-Dec-2009  uebayasi Use GNU linker emul names which really exist.

XXX Assume big endian for now. Better than build failure.
 1.1 13-Dec-2009  mrg branches: 1.1.2;
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.
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file bsd.o32.mk was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.9.8.1 25-Feb-2013  tls resync with head
 1.9.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.2.1 04-Nov-2016  pgoyette Sync with HEAD
 1.14.14.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.14.14.1 21-Apr-2020  martin Sync with HEAD
 1.16.8.1 02-Aug-2025  perseant Sync with HEAD
 1.1 07-Mar-2014  matt branches: 1.1.4; 1.1.8; 1.1.30;
Add MKCOMPAT support for powerpc64.
 1.1.30.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.30.1 21-Apr-2020  martin Sync with HEAD
 1.1.8.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 07-Mar-2014  tls file Makefile was added on branch tls-maxphys on 2014-08-19 23:45:15 +0000
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 07-Mar-2014  yamt file Makefile was added on branch yamt-pagecache on 2014-05-22 11:26:35 +0000
 1.4 24-Jun-2015  matt branches: 1.4.16;
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}
 1.3 23-Aug-2014  matt Add
LDFLAGS+= -Wl,-m,elf32ppc_nbsd
 1.2 07-Mar-2014  matt branches: 1.2.4; 1.2.6; 1.2.8;
No need for LDFLAGS
 1.1 07-Mar-2014  matt Add MKCOMPAT support for powerpc64.
 1.2.8.2 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 07-Mar-2014  tls file bsd.powerpc.mk was added on branch tls-maxphys on 2014-08-19 23:45:15 +0000
 1.2.6.1 04-Feb-2015  martin Pull up following revision(s) (requested by chs in ticket #492):
lib/libc/arch/powerpc64/sys/__vfork14.S: revision 1.2
lib/libc/arch/powerpc64/sys/__syscall.S: revision 1.2
lib/libc/arch/powerpc/sys/__syscall.S: revision 1.3
lib/libc/arch/powerpc64/sys/syscall.S: revision 1.2
lib/libc/arch/powerpc/sys/__clone.S: revision 1.6
lib/libc/arch/powerpc64/gen/__setjmp14.S: revision 1.3
sys/arch/powerpc/include/asm.h: revision 1.47
lib/libc/arch/powerpc64/sys/cerror.S: revision 1.6
lib/libc/arch/powerpc64/sys/getcontext.S: revision 1.5
lib/libc/arch/powerpc64/sys/brk.S: revision 1.5
lib/libc/arch/powerpc64/sys/ptrace.S: revision 1.3
lib/libc/arch/powerpc64/genassym.cf: revision 1.1
lib/libc/arch/powerpc64/gen/__sigsetjmp14.S: revision 1.3
lib/libc/arch/powerpc/sys/getcontext.S: revision 1.6
compat/powerpc64/powerpc/bsd.powerpc.mk: revision 1.3
lib/libc/arch/powerpc64/sys/pipe.S: revision 1.2
lib/libc/arch/powerpc/sys/brk.S: revision 1.14
lib/libc/arch/powerpc64/SYS.h: revision 1.3
lib/libc/arch/powerpc64/sys/fork.S: revision 1.2
lib/libc/arch/powerpc64/sys/__sigtramp2.S: revision 1.4
lib/libc/arch/powerpc64/Makefile.inc: revision 1.3
lib/libc/arch/powerpc/sys/pipe.S: revision 1.9
lib/libc/compiler_rt/Makefile.inc: revision 1.25
lib/libc/arch/powerpc64/sys/sbrk.S: revision 1.4, 1.5
lib/libc/arch/powerpc64/sys/__clone.S: revision 1.2
lib/libc/arch/powerpc/sys/sbrk.S: revision 1.13
lib/libc/arch/powerpc/SYS.h: revision 1.13
powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
-
Spell LdAddr consistently
-
Add LDFLAGS+=-Wl,-m,elf32ppc_nbsd
-
Fix cmpptr/cmpreq/etc to use right mnemonics
-
Minimize differences between powerpc and powerpc64
-
Fix powerpc64 assembly to use right instructions for 64bit CPUs.
-
Use hidden for __curbrk and __minbrk to avoid GOT/TOC relocations.
 1.2.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.4.1 07-Mar-2014  yamt file bsd.powerpc.mk was added on branch yamt-pagecache on 2014-05-22 11:26:35 +0000
 1.4.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.4.16.1 21-Apr-2020  martin Sync with HEAD
 1.1 19-Sep-2014  matt branches: 1.1.16;
New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
 1.1.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.16.1 21-Apr-2020  martin Sync with HEAD
 1.3 18-Apr-2019  mrg - various updates for GCC 7 riscv definitions: -mabi and -march changed
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.
 1.2 24-Jun-2015  matt branches: 1.2.16;
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}
 1.1 19-Sep-2014  matt New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
 1.2.16.3 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.2.16.2 21-Apr-2020  martin Sync with HEAD
 1.2.16.1 10-Jun-2019  christos Sync with HEAD
 1.1 13-Dec-2009  mrg branches: 1.1.2; 1.1.4; 1.1.52;
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.
 1.1.52.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.1.52.1 21-Apr-2020  martin Sync with HEAD
 1.1.4.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.1.4.1 13-Dec-2009  riz file Makefile was added on branch netbsd-5 on 2011-01-06 05:20:22 +0000
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file Makefile was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.6 24-Jun-2015  matt branches: 1.6.16;
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}
 1.5 23-Sep-2011  mrg build compat versions of libgomp for everything except mips N64 (for now.)
 1.4 21-Jul-2011  mrg 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.
 1.3 01-Jul-2011  mrg - add support for src/compat builds
- use .include not .sinclude for the arch Makefile.inc file
- clean up
 1.2 19-Dec-2009  christos branches: 1.2.2;
Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386
 1.1 13-Dec-2009  mrg branches: 1.1.2;
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.
 1.1.2.2 14-Dec-2009  mrg merge the new src/compat build into the place it was actually born.
this replaces the old src/compat with a method that re-traverses the
library directories with a different set of flags, and is capable of
building more than one compat ABI.
 1.1.2.1 13-Dec-2009  mrg file bsd.sparc.mk was added on branch matt-nb5-mips64 on 2009-12-14 06:21:11 +0000
 1.2.2.2 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.2.2.1 19-Dec-2009  riz file bsd.sparc.mk was added on branch netbsd-5 on 2011-01-06 05:20:22 +0000
 1.6.16.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.6.16.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed