Go to file
rin 9f4a23d06a Fix assembling "isb sy" for aarch64{,eb} on LP64BE architectures.
Cherry-picked from upstream:

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=05cfb0d8cc9b7f8676f5ae55a93642f091d5405f;hp=0ec992e6647c00fc234cdf4c11732b6711b024af

Now, working kernel can be self-built on aarch64eb.

Thanks to ryo@ for fixing and upstreaming this!
2020-10-19 12:47:53 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Define OPENSSL_NO_EC_NISTP_64_GCC_128 also for aarch64eb. 2020-10-19 12:46:04 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib make(1): add test for turning a target into a transformation 2020-10-18 16:33:18 +00:00
doc new tzcode 2020-10-17 16:25:24 +00:00
etc network: Update rtsol options 2020-10-16 15:31:04 +00:00
external Fix assembling "isb sy" for aarch64{,eb} on LP64BE architectures. 2020-10-19 12:47:53 +00:00
extsrc
games rain(6): Make the default delay useful for modern terminals 2020-10-14 18:32:04 +00:00
include - remove bitypes.h fossil 2020-10-10 19:51:48 +00:00
lib Restore ESP from mcontext 2020-10-19 11:31:01 +00:00
libexec New sentence, new line. Fix xref. 2020-10-15 09:54:22 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Make command line arguments -r and -w actually override defaults from fstab, 2020-10-18 10:57:30 +00:00
share provide a no-addr-of-packed-member for both clang and gcc 2020-10-18 19:58:02 +00:00
sys Define __BIG_ENDIAN or __LITTLE_ENDIAN depending on target endianness 2020-10-19 11:49:56 +00:00
tests wg: Fix tests by sprinkling ifconfig -w 10 2020-10-16 16:17:23 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin In meta mode we do not have to re-run all tests when Makefile is touched 2020-10-18 22:55:52 +00:00
usr.sbin Properly convert partition default sizes in MB to number of sectors 2020-10-14 15:09:10 +00:00
BUILDING Document CPUFLAGS here (it's already documented in share/mk/bsd.README). 2020-10-13 01:59:32 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note about mips kernel modules breaking update builds 2020-10-17 07:41:25 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git