| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
The find -exec that was there before is quite slow on my machine. This
is much faster.
|
|\ |
|
| | |
|
|\| |
|
| |
| |
| |
| |
| | |
Builds fail otherwise, because the linker can't find the stack
protector symbols.
|
|\| |
|
| |
| |
| |
| |
| |
| | |
We need netbsdCross.ld_elf_so to be the dynamic linker in cross
netbsd's bintools, but netbsdCross doesn't have a libc in stdenv. So
instead, use netbsdCross.libc for netbsdCross.ld_elf_so.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Notes:
- compat: Needs a header from common merged with it's wrapper.
- librt: Needs the jemalloc sources.
- libc: install libc_pic.a
This was the behaviour on NetBSD 8.0, and ld.elf_so (in its current
configuration) requires it. We could also have disabled PIC in
ld.elf_so.
- sys: fix build
We use a more recent version of binutils than NetBSD 9.1 does, so we
need to backport a patch from CURRENT.
Co-authored-by: John Ericson <John.Ericson@Obsidian.Systems>
|
|\ |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
netbsd: Remove some env vars that are probably not needed.
|
| | |
| | |
| | |
| | | |
Tool setup hooks will set most.
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
libkern is only used as part of building the kernel. There's no
reason for us to have a seperate package for it.
|
| |/
|/|
| |
| |
| |
| | |
"common" is just a lot of shared code, not a component in and of
itself. There's no Makefile, so if we try to build it Make will go up
a directory and try to build all of NetBSD.
|
|\ \
| | |
| | | |
netbsd.libutil: fix build
|
| | |
| | |
| | |
| | |
| | | |
Tested by building pkgsCross.x86_64-netbsd.netbsd.libutil on
x86_64-linux.
|
|\ \ \
| | | |
| | | | |
netbsd.librt: fix build
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is another one of those packages that's just a rebuild of a
certain part of libc...
Tested by building pkgsCross.x86_64-netbsd.netbsd.librt on
x86_64-linux.
libc's postPatch was entirely fixes for librt, so move that to librt
and inherit it in libc.
|
|\ \ \ \
| | | | |
| | | | | |
netbsd.librpcsvc: fix build
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Tested by building pkgsCross.x86_64-netbsd.netbsd.librpcsvc on
x86_64-linux.
|
|\ \ \ \
| | | | |
| | | | | |
netbsd.libpthread: fix build
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Tested by building pkgsCross.x86_64-netbsd.netbsd.libpthread on
x86_64-linux.
|
|/ / /
| | |
| | |
| | |
| | | |
Tested by building pkgsCross.x86_64-netbsd.netbsd.libcrypt on
x86_64-linux.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
82c231d17e5 ("netbsd: Generalize builder to any-bsd setup hook")
missed libterminfo when it added bsdSetupHook to every other
package. (I checked it didn't miss anything else.)
It also didn't change a NETBSDSRCDIR to BSDSRCDIR, but in fairness
that line was added about half an hour before the setupHook change was
merged in a16384e1186.
Fixes: 82c231d17e5 ("netbsd: Generalize builder to any-bsd setup hook")
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Tested building pkgsCross.x86_64-netbsd.netbsd.libm from x86_64-linux.
At some point we should probably set SHLIBINSTALLDIR in the setupHook,
but I think I'd like to get everything working first, and then make
changes that affect all the builds like that. It's easier to spot
regressions when you know _everything_ worked before.
|
| |
| |
| |
| |
| |
| |
| | |
- No splicing makes everything less finnicky.
- Normal bootstrapping matches e.g. linux where kernel headers are also
`stdenvNoCC` but part of this stage.
|
| |
| |
| |
| |
| | |
Tested building pkgsCross.x86_64-netbsd.netbsd.i18n_module from
x86_64-linux.
|
| |
| |
| |
| |
| | |
Tested building pkgsCross.x86_64-netbsd.netbsd.libresolv from
x86_64-linux.
|
|\ \
| | |
| | | |
netbsd: Generalize builder to any-bsd setup hook
|
| | |
| | |
| | |
| | | |
Do this to get ready for other BSDs.
|
|/ /
| |
| |
| |
| | |
Tested building netbsd.libterminfo and
pkgsCross.x86_64-netbsd.netbsd.libterminfo from x86_64-linux.
|
|\ \
| | |
| | | |
netbsd.libossaudio: fix build
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The file this was trying to modify doesn't even exist.
Tested by building pkgsCross.x86_64-netbsd.netbsd.libossaudio from
x86_64-linux.
|
|/ /
| |
| |
| |
| | |
Tested building pkgsCross.x86_64-netbsd.netbsd.ld_elf_so from
x86_64-linux.
|
| |
| |
| |
| | |
`attrs` overrides these defaults already.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before, we were only building the headers, firmware, and bootloader.
CONFIG could be overridden to use another pre-defined kernel, but
there's no way to pass a custom kernel configuration yet.
Tested booting the built kernel in a NetBSD VM.
|
| |
| |
| |
| | |
Needed to build the NetBSD kernel.
|
| |
| |
| |
| |
| | |
We need the source directory of this package for config(1), so we
might as well just package it.
|
|\ \
| | |
| | | |
netbsd.sys: fix build
|
| | |
| | |
| | |
| | |
| | |
| | | |
I don't think there's any reason for this not to be set. Maybe it was
from before netbsd.headers overrode meta.platforms for its
constituents.
|
| | |
| | |
| | |
| | | |
Otherwise, would try to install firmware to /libdata/firmware.
|
| | | |
|
| | |
| | |
| | |
| | | |
Required to build the NetBSD kernel.
|
| | |
| | |
| | |
| | |
| | | |
Permanently changing the directory here was breaking the kernel build,
which needs to do other things after moveUsrDir.
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| | |
|