christos
0fe1d114cc
add gpt
2014-09-30 19:38:25 +00:00
matt
547b3a3b01
Changes to existing files to enable building AARCH64 userland.
...
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
christos
86eb29ab38
descend to vgrind
2014-07-15 13:19:44 +00:00
pooka
bb567b2891
Add cat, rpcgen and stat to TOOLS_BUILDRUMP. They're useful for
...
installing headers for the app stack cases that need it done, and small
enough to not matter for the kernel-only cases that don't.
2014-06-15 14:36:57 +00:00
mrg
ac641cb906
remove remaining makefile support for GCC < 45 that i found.
2014-06-14 20:49:36 +00:00
riastradh
7410f91473
ctfconvert/ctfmerge need libdwarf &c., so build them if MKCTF=yes.
2014-04-03 18:23:38 +00:00
ozaki-r
1339b2cc13
Add MKCTF
...
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).
This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
skrll
6d3ceb1d61
Rename NetBSD/hp700 to NetBSD/hppa.
...
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
joerg
6c440ed37c
Update LLVM/Clang snapshot to r189662. This includes many improvements
...
to the new SLP vectorizer, fast codegen support for PPC and using
terminfo for the color sequences. In addition, add (optional) build
infrastructure for lld to allow easier testing. This is controlled by
MKLLD.
2013-09-02 14:34:55 +00:00
matt
2d336eb8bb
Even if we aren't making a crossgdb still make the object dir for it.
2013-07-19 20:58:58 +00:00
joerg
db135d737c
Add infrastructure for building MCLinker.
2013-02-27 21:25:05 +00:00
matt
3ba56103bd
There are other little endian arm machine_arches other than "arm"
...
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
2013-02-05 07:27:02 +00:00
pooka
dc7c452845
Use TOOLS_BUILDRUMP=yes to restrict building of tools to those required
...
for building rump kernels. This cuts down the NetBSD source tree required
by buildrump.sh to a fraction and addresses a size/download time concern
from a person packaging rump kernels for Linux.
No change to the normal case (tested with several -j32/-j64 builds).
reviewed by apb
2013-01-31 15:22:50 +00:00
apb
e95f6bc055
Make tools/Makefile build host-mkdep, compat, and binstall in that order,
...
before installing any of them. It installs them in any order relative
to each other. The .WAIT points that used to be between these three
tools are replaced by .ORDER and dependencies.
This is needed in preparation for making tools/compat install
some files into TOOLDIR.
2012-12-02 12:25:25 +00:00
apb
9ff9611745
TOOLDIR must be valid, unless MKTOOLS=no.
...
Add tests and .error directives to enforce this.
2012-12-02 12:10:43 +00:00
apb
326b13ee70
If tools are not wanted, then set SUBDIR= empty instead of
...
defining all the subdir-related targets to do nothing. This way,
the targets are not invoked at all, instead of being invoked but
doing nothing.
2012-12-02 11:46:34 +00:00
apb
34072b3232
remove trailing white space
2012-12-02 11:19:45 +00:00
jkunz
32c0cb2823
According to the i.MX23 Reference Manual section 3.1, Page 3-3:
...
"The i.MX23 always operates in litle-endian mode."
So build elftosb and bootloader for this processor only for evbarm(-el).
2012-11-27 20:00:38 +00:00
pooka
cdb7042197
Build gmake iff we're going to need it.
2012-11-26 16:57:25 +00:00
joerg
54f191bfce
Move the build_install logic from lib/Makefile into share/mk and re-use
...
it for tools. The existing logic broke for the LLVM build with the
recent .ORDER changes in make.
2012-11-15 23:51:53 +00:00
jkunz
993229b6fe
Add elftosb tools to evbarm userland and toolchain.
...
Elftosb is used to create a digitaly signed "secure boot" file.
This sb file can be booted by the first stage boot loader found in
Freescale i.MX23 and i.MX28 application processors.
Copyright (c) 2004-2010 Freescale Semiconductor, Inc.
2012-11-15 19:49:11 +00:00
pooka
c978e80017
fix EXTERNAL_TOOLCHAIN build
2012-09-20 15:50:20 +00:00
joerg
2ce6b7d32d
Decouple binutils build from HAVE_GCC. Merge common fragments of
...
HAVE_GCC and HAVE_PCC.
2012-08-10 16:13:36 +00:00
joerg
6edf2caf7f
Revert .WAIT removal and add comment why it is needed between *tblgen.
2011-11-03 07:42:56 +00:00
njoly
2b2cb14012
Do not build tic more than once
2011-11-02 23:47:07 +00:00
christos
9002895fe6
move tic later, after all the tools it needs are built.
2011-11-02 20:36:41 +00:00
yamt
de081393a5
tweak dependencies for tic, which needs nbperf, awk, and sed.
2011-11-02 20:33:18 +00:00
joerg
ecc1f89d09
Remove an unnecessary .WAIT between llvm-tblgen and clang-tblgen.
2011-11-01 23:11:55 +00:00
joerg
ac992c4949
Hook up nbperf into the normal tool build.
2011-11-01 21:16:28 +00:00
joerg
9aa0541bdf
Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
...
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
tsutsui
a1f5c3dd33
Build nbm68k-elf2aout as a host tool on m68k targets
...
for an ancient PROM bootloader.
Mostly taken from nbmips-elf2ecoff.
2011-07-16 15:52:01 +00:00
mrg
29bf026bea
install elf2ecoff for all mips64 systems. it's needed for stand.
2011-07-10 08:43:50 +00:00
mrg
e13b252934
always build gmake if HAVE_GCC.
...
build gmp, mpfr and then mpc if HAVE_GCC >= 45.
2011-06-21 02:15:41 +00:00
elric
98fbe74f8c
Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
...
to crypto/external/bsd/heimdal. The latter was just imported as the head
of the Heimdal tree as of a few days ago.
2011-04-15 18:05:42 +00:00
riz
c8735093ef
.WAIT for makefs, because in most builds, it's the first target
...
which includes Makefile.nbincludes, whose beforedepend: has
some race condition I don't fully understand, and which has been
causing many (but not all!) -j16 builds on the autobuild cluster
to fail in tools since sometime between 201103061600 and 201103070900.
With the proper voodoo, I was able to get 8 builds in a row to fail
without this change, and 16 in a row to succeed with it.
XXX a proper fix likely involves reworking the beforedepend: target
of Makefile.nbincludes, but this should get the build cluster back up
to full functionality in the meanwhile.
2011-03-17 19:06:45 +00:00
phx
e1b5cdc215
mkubootimage is certainly useful for sandpoint
2011-02-25 23:29:16 +00:00
joerg
48360965f3
Add LLVM and clang build system. It is enabled by MKLLVM=yes.
...
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
2011-02-06 01:13:42 +00:00
matt
06de5a61bb
Make mkubootimage for evbmips and evbppc too.
2011-01-31 03:41:10 +00:00
mrg
25c3593d4e
add new option to build/use tools/pigz for compressing sets. for now
...
USE_PIGZGZIP defaults to "no". (it depends upon local <pthread.h> and -lz.)
you can set it to "yes" on most modern platforms just fine.
2010-08-15 07:27:33 +00:00
jmcneill
192740f5f9
hook mkubootimage into the build
2010-06-18 18:57:27 +00:00
jmmv
357bd260c3
Bye bye atf-compile, you won't be missed.
2010-06-04 08:34:35 +00:00
darran
5f2f3d9ce8
DTrace: add libelf, libdwarf, libctf, and CTF tools to the toolchain,
...
built when MKDTRACE=yes.
2010-03-02 20:47:01 +00:00
joerg
1bd975ff5c
Build mandoc unconditional if man pages are desirable. All
...
compatibility issues are supposed to be sorted out.
Build groff conditionally on MKGROFF. It is currently the only component
that requires C++.
2010-02-20 00:35:11 +00:00
roy
3dc9dc4362
Store our generated files in CVS and remove nbperf from the toolchain.
...
This allows us to build consistent libs without an ever changing hash.
2010-02-03 20:56:54 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
he
1058cef38c
To unbreak the build, temporarily remove the build of libelf here,
...
since no other part of the build depends on this yet.
Suggested as a temporary workaround by thorpej@
2009-12-29 22:13:00 +00:00
mrg
3fa4bcf59c
rework the main SUBDIR list here as suggested by enami. put .WAIT on
...
the same line as the target that needs to wait, but before the target,
rather than on the previous line, which led to confusion and an error
being introduced in the previous change.
2009-12-23 20:15:21 +00:00
mrg
2dc54d1398
move the build of pax before libelf. fixes my build of tools/libelf,
...
though i didn't look to see why libelf needs pax.
2009-12-21 20:57:36 +00:00
thorpej
aa6d6cf7b8
Add support for building libelf in a host-tool environment.
...
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle
that problem right now.
2009-12-21 18:21:17 +00:00
christos
39c14eeaaf
Give m4 its own .WAIT. Fixes build issue on NetBSD-5.
2009-10-29 13:07:12 +00:00