hans
31b20c1266
Fix tools build on Solaris with MKCROSSGDB=YES.
2010-05-08 23:18:44 +00:00
jmmv
441d96f6d5
Adjust paths to new location of the atf-compile sources in atf 0.8.
...
(You may be happy to know that this tool will probably disappear in
the next atf release!)
2010-05-08 08:20:18 +00:00
cegger
8690c1d646
remove OSX specific fix where CLOCK_REALTIME is not defined.
...
It has been properly fixed in
http://mail-index.netbsd.org/source-changes/2010/03/26/msg008200.html
2010-03-27 07:16:57 +00:00
cegger
1359eca921
toolchain buildfix on OSX with MKDTRACE=yes:
...
The host <sys/time.h> doesn't provide CLOCK_REALTIME but ctf uses it.
See http://mail-index.netbsd.org/current-users/2010/03/20/msg012963.html
No comments.
2010-03-26 07:16:12 +00:00
hans
ee93caba9c
Fix build on Solaris. "seems reasonable" by joerg.
2010-03-07 19:10:10 +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
darran
ec591d7fd5
DTrace: add CTF tools to the toolchain (not built yet).
2010-02-24 21:34:57 +00:00
roy
fde317d2b1
libterminfo can now compile a single terminfo description which allows
...
$TERMINFO to be a terminfo description as well as a file reference.
This enables the user to modify the terminfo description on read-only
media.
2010-02-22 23:05:39 +00:00
roy
20fbb1c876
Use HOST_SRCS instead of adding to SRCS for hash.c
2010-02-20 19:04:48 +00:00
roy
47aa05b406
Use the pre-built hash table.
2010-02-20 17:02:33 +00:00
joerg
637b0cffec
Rewrite argument processing to deal with spaces and other meta
...
characters in options. This was exposed by the "NetBSD 5.99" argument of
mandoc.
2010-02-20 15:04:03 +00:00
joerg
2c23e1b113
Add intermediate files to CLEANFILES. Explicitly include bsd.sys.mk to
...
ensure that HOST_SH is set, even when e.g. cleandir is used.
Noticed by Nicolas Joly.
2010-02-20 13:43:31 +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
joerg
83a16fe245
Update tool version for mdocml 1.9.15.
2010-02-19 23:03:02 +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
tsutsui
18ee5820df
No need to compile strlcpy.c and strlcat.c here.
...
They are in libnbcompat.a, not in src/lib/libc/string
(moved into src/common/lib/libc/string), and
strlcpy.c and strlcat.c derived from crypto/dist/heimdal/lib/roken
won't include the target functions if nbtool_config.h defines
HAVE_STRLCPY and HAVE_STRLCAT.
2010-02-03 12:58:53 +00:00
tsutsui
766937a0b1
Regen this properly per procedure described in src/tools/compat/configure.ac.
2010-01-21 12:55:04 +00:00
asau
76d4b3bdab
Regenerate.
2010-01-15 11:27:01 +00:00
asau
9f9e90f73c
Test for <sys/endian.h> and provide HAVE_SYS_ENDIAN_H.
...
Fixes FreeBSD hosted builds (PR 42440 and PR 42470).
Approved by <dholland>.
2010-01-15 11:26:25 +00:00
christos
f9076c1664
undef and redefine instead of checking if it is define, from joerg
2010-01-14 21:38:19 +00:00
christos
76aa0f6aa7
provide __arraycount for those that don't have it.
2010-01-14 21:26:56 +00:00
tsutsui
d3724ba41f
Add necessary byteswap ops for tools disklabel(8) used with -F option
...
(treating a target disk as a regular file and suppressing ioctl(2)s)
on reading/writing disklabel in a target file.
This allows cross build enviroment creating bootable disk images
for targets in different endian.
No functional changes to native (non-tools) disklabel(8) command.
Closes PR toolchain/42357.
2010-01-05 15:45:26 +00:00
tsutsui
47ef4e54e9
Include "nbtool_config.h" for src/tools/zic/ and
...
remove bogus -DNOID to disable __RCSID().
XXX: should we also remove #ifndef lint from scheck.c and zic.c?
2010-01-02 10:42:49 +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
thorpej
69ceabfc59
Include nbtool_config.h as needed. Should fix missing defn of __unused in
...
some host tool environments.
2009-12-29 17:32:18 +00:00
cegger
49fd8fe03d
Add tooldir include path.
...
This fixes amd64 toolchain build on OSX.
2009-12-23 20:28:29 +00:00
mrg
8c0cbe863f
revert the previous; not intended to be part of that commit, or any commit
2009-12-23 20:17:13 +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
uebayasi
656d7ae41f
get_libgcc_new: Make previous work for digit only ABI names.
2009-12-17 15:48:13 +00:00
uebayasi
eae6ecc426
get_libgcc_new: Teach multilib.
2009-12-17 15:01:33 +00:00
uebayasi
6d1f240d45
Fix parallel build. Analyzed & patch provided by enami@, thanks!
2009-12-15 11:39:05 +00:00
christos
a31812a3a1
disable only parallel make.
2009-12-14 14:13:16 +00:00
uebayasi
0d144fa114
Disable parallel build, which always fails at compiling itable.c / interp.c.
...
Only affect MKCROSSGDB=yes.
2009-12-14 08:51:31 +00:00
pooka
d6224f4507
Remove support for NetBSD/playstation2.
2009-12-05 16:29:10 +00:00
uebayasi
83246377bb
Revert previous, which caused tools build to fail.
2009-12-01 17:06:34 +00:00
uebayasi
ab788f10b4
Use ${NETBSDSRCDIR} for deep tools/* directories.
2009-12-01 09:08:25 +00:00
uebayasi
ba9e6e8ae6
Add pkg_install as a tool.
2009-12-01 09:01:45 +00:00
uebayasi
3cb0739866
Skip parameters for multilib build for now.
2009-12-01 04:59:24 +00:00
uebayasi
87bb55865b
Handle cases where *.asm is listed in LIB2FUNCS_EXTRA (gcc/config/rs6000).
2009-12-01 03:13:26 +00:00
uebayasi
3a3e699038
Handle cases where database text files don't exist.
2009-11-30 14:34:17 +00:00
uebayasi
d77ecd459a
Call "template sources" as "tmplsrcs", not "tmpsrcs". Requested by mrg@.
2009-11-30 10:03:57 +00:00
uebayasi
970b30eb96
Prefix per-library *.mk files with libs.*.
2009-11-30 09:57:59 +00:00
uebayasi
d3180e0c9b
Now that we know what sources are needed to build a given library, we need
...
the rules how to build those sources. Generate makefiles defining ${COPTS},
${CPPFLAGS}, and ${SRCS} (== template).
Note that ${CPPFLAGS} is actually dfined as _CPPFLAGS like
_CPPFLAGS.tmp___gcc_bcmp.c=-DL__gcc_bcmp
and used to generate wrapper files (e.g. tmp___gcc_bcmp.c). Otherwise it's
automagically passed to ${CC} by bsd.*.mk.
2009-11-30 09:50:59 +00:00
uebayasi
2c455e268f
For each library, generate a makefile of the list of template sources too.
2009-11-30 09:33:36 +00:00
uebayasi
c91d9ec35a
For each library, generate a list of sources (*.[cS]).
...
We create wrapper sources (tmp_*.[cS]) on-the-fly and compile them. For
example, __gcc_bcmp() is compiled using tmp___gcc_bcmp.c, which #define's
L__gcc_bcmp and #include's libgcc2.c.
2009-11-30 09:32:13 +00:00
uebayasi
263a9a2c47
Move these analyzing functions into one place, get_libgcc_new_analyze().
2009-11-30 08:20:23 +00:00
uebayasi
b98c239900
Typo.
2009-11-30 08:05:41 +00:00