Go to file
rin 6ce10d32d6 Fix fallout from NO_STATIC_MODULES -> OPENPAM_STATIC_MODULES changes;
libpam.a fails to load any modules and does not work at all.

At the moment, openpam_load.c at least must be compiled with and without
OPENPAM_STATIC_MODULES for static and shared libraries, respectively.

Therefore, use CSHLIBFLAGS again, in order to build objects for static and
shared libraries separately.

This may be ugly, but seems better for me than adding further hacks in
libpam/libpam/Makefile, which is already complicated enough...
2020-05-23 00:43:33 +00:00
bin fix reversed test. 2020-05-22 14:54:30 +00:00
common PR 55239: initialize all RAS sections for non-MP configurations 2020-05-15 15:20:40 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Remove extra semicolon. 2020-05-14 08:34:17 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Now Xserver works on hp425e built-in EVRX framebuffer. 2020-05-23 00:02:10 +00:00
doc sync with reality 2020-05-20 21:05:21 +00:00
etc Only build GENERIC kernel for armv7 releases. 2020-05-22 14:09:54 +00:00
external GCC8 needs -Wno-stringop-overflow also for m68000 (sun2). 2020-05-23 00:32:42 +00:00
extsrc
games Heads up on Bell patents 2020-05-18 20:19:08 +00:00
include Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
lib Fix fallout from NO_STATIC_MODULES -> OPENPAM_STATIC_MODULES changes; 2020-05-23 00:43:33 +00:00
libexec Fix debug build 2020-05-16 16:43:15 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
share Switch sparc64 to binutils 2.34 2020-05-20 15:43:29 +00:00
sys Fix previous; add hack to prevent NetBSD RCSID from being expanded... 2020-05-23 00:07:27 +00:00
tests Fix sun2 build. Still there are some duplicate symbols in the rump libraries 2020-05-17 18:52:43 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin The Hacienda must be rebuilt. 2020-05-21 08:43:57 +00:00
usr.sbin Separate devicetree .dts -> .dtb building from kernel builds. They are now 2020-05-18 21:19:34 +00:00
build.sh Separate devicetree .dts -> .dtb building from kernel builds. They are now 2020-05-18 21:19:34 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +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 GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +00:00

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