summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
2010-03-07Fix build on Solaris. "seems reasonable" by joerg.hans
2010-03-02DTrace: add libelf, libdwarf, libctf, and CTF tools to the toolchain,darran
built when MKDTRACE=yes.
2010-02-24DTrace: add CTF tools to the toolchain (not built yet).darran
2010-02-22libterminfo can now compile a single terminfo description which allowsroy
$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-20Use HOST_SRCS instead of adding to SRCS for hash.croy
2010-02-20Use the pre-built hash table.roy
2010-02-20Rewrite argument processing to deal with spaces and other metajoerg
characters in options. This was exposed by the "NetBSD 5.99" argument of mandoc.
2010-02-20Add intermediate files to CLEANFILES. Explicitly include bsd.sys.mk tojoerg
ensure that HOST_SH is set, even when e.g. cleandir is used. Noticed by Nicolas Joly.
2010-02-20Build mandoc unconditional if man pages are desirable. Alljoerg
compatibility issues are supposed to be sorted out. Build groff conditionally on MKGROFF. It is currently the only component that requires C++.
2010-02-19Update tool version for mdocml 1.9.15.joerg
2010-02-03Store our generated files in CVS and remove nbperf from the toolchain.roy
This allows us to build consistent libs without an ever changing hash.
2010-02-03Userland now builds and uses terminfo instead of termcap.roy
OK: core@, jdc@
2010-02-03No need to compile strlcpy.c and strlcat.c here.tsutsui
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-01-21Regen this properly per procedure described in src/tools/compat/configure.ac.tsutsui
2010-01-15Regenerate.asau
2010-01-15Test for <sys/endian.h> and provide HAVE_SYS_ENDIAN_H.asau
Fixes FreeBSD hosted builds (PR 42440 and PR 42470). Approved by <dholland>.
2010-01-14undef and redefine instead of checking if it is define, from joergchristos
2010-01-14provide __arraycount for those that don't have it.christos
2010-01-05Add necessary byteswap ops for tools disklabel(8) used with -F optiontsutsui
(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-02Include "nbtool_config.h" for src/tools/zic/ andtsutsui
remove bogus -DNOID to disable __RCSID(). XXX: should we also remove #ifndef lint from scheck.c and zic.c?
2009-12-29To unbreak the build, temporarily remove the build of libelf here,he
since no other part of the build depends on this yet. Suggested as a temporary workaround by thorpej@
2009-12-29Include nbtool_config.h as needed. Should fix missing defn of __unused inthorpej
some host tool environments.
2009-12-23Add tooldir include path.cegger
This fixes amd64 toolchain build on OSX.
2009-12-23revert the previous; not intended to be part of that commit, or any commitmrg
2009-12-23rework the main SUBDIR list here as suggested by enami. put .WAIT onmrg
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-21move the build of pax before libelf. fixes my build of tools/libelf,mrg
though i didn't look to see why libelf needs pax.
2009-12-21Add support for building libelf in a host-tool environment.thorpej
XXX Makefile.disklabel is really mis-named, but I'm not going to tackle that problem right now.
2009-12-17get_libgcc_new: Make previous work for digit only ABI names.uebayasi
2009-12-17get_libgcc_new: Teach multilib.uebayasi
2009-12-15Fix parallel build. Analyzed & patch provided by enami@, thanks!uebayasi
2009-12-14disable only parallel make.christos
2009-12-14Disable parallel build, which always fails at compiling itable.c / interp.c.uebayasi
Only affect MKCROSSGDB=yes.
2009-12-05Remove support for NetBSD/playstation2.pooka
2009-12-01Revert previous, which caused tools build to fail.uebayasi
2009-12-01Use ${NETBSDSRCDIR} for deep tools/* directories.uebayasi
2009-12-01Add pkg_install as a tool.uebayasi
2009-12-01Skip parameters for multilib build for now.uebayasi
2009-12-01Handle cases where *.asm is listed in LIB2FUNCS_EXTRA (gcc/config/rs6000).uebayasi
2009-11-30Handle cases where database text files don't exist.uebayasi
2009-11-30Call "template sources" as "tmplsrcs", not "tmpsrcs". Requested by mrg@.uebayasi
2009-11-30Prefix per-library *.mk files with libs.*.uebayasi
2009-11-30Now that we know what sources are needed to build a given library, we needuebayasi
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-30For each library, generate a makefile of the list of template sources too.uebayasi
2009-11-30For each library, generate a list of sources (*.[cS]).uebayasi
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-30Move these analyzing functions into one place, get_libgcc_new_analyze().uebayasi
2009-11-30Typo.uebayasi
2009-11-30Generate lists of template sources ("tmpsrcs") for each libraries. We'lluebayasi
need these to create wrappers of tmpsrcs and define correct dependencies.
2009-11-30Generate *.o -> template *.[cS] ("tmpsrc") mapping.uebayasi
Functions are built from a template (tmpsrc). We create wrapper sources (src) and define necessary defines and #include tmpsrc.
2009-11-30- Generate a list of CPP flags used to build *.o. Some files are builduebayasi
repeatedly with different -DXXX to generate similar objects (e.g. different type size). - Generate a list of other CC options to build *.o. (See my sed-fu using hold space in get_libgcc_list_objs_xflags().)
2009-11-30- Generate a list of *.o -> lib*.{a,so} mapping. This is also known byuebayasi
parsing dependency lines in libgcc.mk. - Generate a list of *.o -> *.{c,S} mapping. *.S files are known as ${LIB1ASMFUNCS}. Assume other *.o files are built from *.c. This information is needed to generated wrapper sources later.