Commit Graph

693 Commits

Author SHA1 Message Date
skrll 0df379aa98 Switch hppa to gdb 7. 2011-11-25 22:03:42 +00:00
jdc 39bd26a295 Switch alpha to gdb 7. 2011-11-15 22:55:28 +00:00
uwe d36863b6ce Switch sh3 to gdb7. 2011-11-02 00:10:08 +00:00
joerg ac992c4949 Hook up nbperf into the normal tool build. 2011-11-01 21:16:28 +00:00
chs 8c0bc12273 switch everything except vax to gcc 4.5.
switch m68k to -Os since -O2 produces much bigger code
with gcc 4.5 than it did with gcc 4.1.
2011-10-31 14:20:11 +00:00
mrg c23dc553e9 obsolete now useless (and wrongly set to "219" :-) HAVE_BINUTILS.
switch the sense of the gdb and gcc tests to list the platforms not
switched to gcc 4.5 or gdb 7, which is now:

GCC 4.1:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_CPU}  == "arm"	|| \
    ${MACHINE_CPU}  == "m68k"	|| \
    ${MACHINE_CPU}  == "vax"

GDB 6:
.if ${MACHINE_ARCH} == "alpha"	|| \
    ${MACHINE_ARCH} == "hppa"	|| \
    ${MACHINE_CPU}  == "mips"	|| \
    ${MACHINE_CPU}  == "sh3"	|| \
    ${MACHINE_ARCH} == "vax"

let's go, people!  (-:
2011-10-31 08:14:43 +00:00
mrg 796bd71eac switch powerpc64 to GCC 4.5 and GDB 7. untested, but it builds which
is a step forward from a week ago.
2011-10-30 08:50:14 +00:00
mrg 0f88387d2b switch m68* to GDB 7.3.1. tested on sun2 and sun3 in TME. works
at least reasonably on sun3.  GCC 4.1 barely runs on sun2 and GCC
4.5 doesn't run...
2011-10-28 06:28:48 +00:00
mrg 22a1ab187f switch sparc, sparc64, arm and powerpc to GDB 7. 2011-10-25 05:54:15 +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
christos d9f8f2e0cc Switch i386 and amd64 to gdb7. 2011-10-08 21:55:16 +00:00
christos 8d68885ceb No point on keeping hp700 on the old gcc; it is produces broken assembly
according to the new binutils.
2011-10-02 22:10:10 +00:00
joerg ba5a5a1119 Add new "analyze" command to run clang's static analyzer in a directory
on all C/C++ files.
2011-08-27 18:35:19 +00:00
uwe d4eba6a9b8 Switch sh3 to GCC 4.5. Tested on landisk (including doing build.sh on it). 2011-08-25 00:01:25 +00:00
mrg 8188255310 switch sparc to GCC 4.5.3. 2011-08-17 09:18:37 +00:00
mrg f2baad49fd switch x86 to GCC 4.5. 2011-08-07 08:15:02 +00:00
matt c3bb2a6aa0 Switch mips and powerpc to GCC 4.5 2011-08-05 00:24:12 +00:00
mrg 7941c10dff switch sparc64 to GCC 4.5.3. 2011-08-04 00:52:49 +00:00
tsutsui ce89d25111 Add definitions for elf2aout tools. 2011-07-16 23:42:42 +00:00
tsutsui 0684fd552b Add OBJCOPY_ELF2AOUT_FLAGS for some arm ports to create a.out binaries
using objcopy(1) for old firmware, shared among src/distrib and
src/sys/arch/${MACHIHNE}/conf/Makefile.${MACHINE}.inc.

Discussed with mrg@ and matt@ on source-changes-d@.
2011-07-10 04:36:13 +00:00
matt 9233f8063e Switch powerpc to USE_COMPILERCRTSTUFF=no 2011-07-02 20:21:16 +00:00
matt 65fe75b53f After making sure USE_PIGZGZIP is defined, add a TOOL_GZIP which will be
gzip or ${TOOL_PIGZ}.  Use of gzip can be replaced with ${TOOL_GZIP} and
automatically get to use pigz if USE_PIGZGZIP is defined as "yes".  This
avoid having to special case each of gzip.
2011-06-30 18:09:54 +00:00
mrg 8f161cd6d3 remove all the code that supported HAVE_GCC=3. mostly from chuq. 2011-06-20 06:52:36 +00:00
mrg a2c4975d63 build evbppc modules in 3 different flavours:
- oea (default)
	- ibm4xx
	- booke

this, together with earlier machine_module[] work, should allow evbppc
platforms to use modules.
2011-06-15 09:45:58 +00:00
drochner 53cdf0b54e make the "tags" target non-.PHONY because it reflects a real file,
and remove some nonsense in libc Makefile which caused that
a "tags" file was written in my source tree
2011-05-27 17:06:54 +00:00
plunky 762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00
joerg 1fe45e28aa Add fine-grained compiler selection, including clang support. 2011-05-19 14:29:27 +00:00
adam dde94184d6 Reverting last change; joerg has a better approach 2011-05-19 06:09:36 +00:00
adam 84862a28ce Add support for LLVM/Clang 2011-05-18 13:08:14 +00:00
haad 1d514c3d24 Add MKPERFUSE flag to those who are enabled by default. 2011-05-09 14:36:48 +00:00
joerg 0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
joerg cad1e2593b Fix --sysroot usage. 2011-04-18 02:16:55 +00:00
christos afb74ce0eb Revert previous, breaks builds completely (cd /usr/src/bin/test && make clean &&
make)
2011-04-17 15:03:37 +00:00
tron 7d762fda62 Don't use "--sysroot=/" for host builds as "nbhost-mkdep" doesn't
understand that option. This should unbreak tool builds.
2011-04-17 12:54:22 +00:00
mrg 3776a6678e it's spelled CPPFLAGS not CPPFLAGGS. 2011-04-17 00:05:36 +00:00
christos 62ee277445 Need --sysroot=/ otherwise ld does not find crt0.o and friends. 2011-04-16 22:45:23 +00:00
christos 640ac4b1c5 Simplify and correct (previous did not work for !defined(DESTDIR) 2011-04-16 21:41:24 +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
joerg 31ba4e2954 Use ?: operator to determine when to add --sysroot. Unbreaks clang
bootstrap.
2011-04-10 21:03:17 +00:00
joerg c28ff146c9 For USETOOLS=yes, use the --sysroot support of the compiler to cut down
the number of hard-coded pathes and magic invocations.
2011-04-10 16:52:36 +00:00
njoly 2198134aa6 Adjust html link template and css location for man pages in arch
subdirs.
2011-03-08 12:20:17 +00:00
mrg 1051ab1175 add missing SRCDIR for synaptics. 2011-02-07 21:23:47 +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 a66016ab15 Add TOOL_MKUBOOTIMAGE 2011-01-31 03:42:01 +00:00
pooka 5f7e80a834 Add support for the Extensible MIPS ("eMIPS") platform. The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.
2011-01-26 01:18:43 +00:00
he a73bf0c204 Default MKREPRO to "no", so that the tests in stand/ etc. don't need
to add ":Uno" to the variable expansion inside the test to avoid errors
from nbmake.
2011-01-25 10:28:56 +00:00
matt c17daf3806 Default mips64e[bl] to SOFTFLOAT. 2011-01-18 08:31:18 +00:00
pooka 84d9317cb6 Define RUMPPRG, which is just like PROG, except it additionally
builds a rump client with the name rump.${PROG}.  The rump client
is not installed suid/sgid by default even if BINMODE is defined.
2010-12-13 17:22:26 +00:00
mrg aa6fd2d6fa switch ofppc to xorg. 2010-12-05 09:54:34 +00:00
skrll 1f561df24f Fix a comment 2010-11-28 18:44:13 +00:00