jmcneill
01401401c3
add TOOL_MKNOD
2013-02-10 22:05:51 +00:00
christos
014096fb90
Allow setting _LIB_PREFIX externally.
2013-02-09 17:18:17 +00:00
spz
cd9c73575e
typo in a MKDEBUGLIB part
2013-02-09 12:17:20 +00:00
matt
4609daf1bc
Add missing }
2013-02-08 04:06:25 +00:00
christos
738b87c983
- factor out variables so that the code is more readable, make them conistent
...
- use _LIB_PREFIX correctly.
2013-02-08 02:30:53 +00:00
matt
467e80acbc
Add support for MACHINE_ARCH earmhf and earmhfeb
2013-02-03 05:36:36 +00:00
matt
2b29920df6
add earmhf
2013-02-03 05:35:25 +00:00
christos
d55974ab54
Move HAS_SSP and USE_SSP out of bsd.sys.mk. They did not belong there in
...
the first place. Rename HAS_SSP to HAVE_SSP to match existing practice.
2013-01-27 02:31:44 +00:00
christos
488659cc10
we cannot include bsd.sys.mk because of YHEADER. The incestious relation
...
of the .mk files needs to be fixed.
2013-01-27 02:22:27 +00:00
christos
84be08d909
CTFCONVERT complains and coredumps for c++
2013-01-26 22:04:18 +00:00
christos
08c1bf572c
CTFCONVERT me harder.
2013-01-26 21:49:20 +00:00
christos
daf5be7806
include <bsd.sys.mk>
...
This is a mess. HAS_SSP (which should really be HAVE_SSP), is defined
in bsd.sys.mk. So things that need it, include the file directly. The
trouble comes because bsd.sys.mk, needs stuff that bsd.own.mk defines,
so including first does not work. Anyway most other files include bsd.sys.mk
directly, so user Makefiles should just not do that, and just include
<bsd.own.mk> to get all the defines they need.
2013-01-26 21:48:58 +00:00
christos
1d92830f7c
Make the libfoo.so.X.Y.debug files actually contain debug symbols if MKDEBUG.
2013-01-22 20:43:17 +00:00
christos
7097ec6251
Now that ctf is fixed for at least amd64, go back to an equivalent to the
...
original functionality, use the tool only if it exists.
2013-01-18 19:32:09 +00:00
christos
3dd38e1c8b
Disable CTF Conversion for now until it is fixed.
...
- ERROR: ctrl_iface_ap.c: die 2767: failed to get unsigned: No entry found
[dwarf _attrval_unsigned(219)]
2013-01-17 17:33:16 +00:00
christos
aa675a73cf
Now that we have separate debug sets, add -g if ${MKDEBUG} is set for
...
program builds since we don't need to install that symbol files.
2013-01-17 15:42:59 +00:00
christos
af499c4810
Remove bogus conditionals that were also copied to other files presumably
...
because they did not work from here, and explain why.
2013-01-17 15:27:50 +00:00
matt
6deadffd90
Make MKSOFTFLOAT = yes for ARM (since arm is softfloat by default).
2013-01-11 12:55:29 +00:00
pooka
af1f107ceb
Add more external dependencies for crtstuff
2012-12-10 23:49:39 +00:00
pooka
4e6104b334
Revert poor change
2012-12-10 23:48:38 +00:00
pooka
83cc3f6549
Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also,
...
handle "missing" crtstuff internally instead of depending on external
intervention.
2012-12-10 20:58:55 +00:00
apb
30bff44eb3
Document MAKEDIRTARGETENV
2012-12-02 20:19:46 +00:00
joerg
5adc71af23
CATDEPS is bogus for mandoc, so disable it in that case.
2012-11-30 17:52:13 +00:00
joerg
6528688d69
Don't force link and CSS options in bsd.own.mk, bsd.man.mk sets them.
2012-11-30 17:51:50 +00:00
alnsn
fab5cb6386
Document MKSLJIT variable.
2012-11-24 14:01:28 +00:00
alnsn
012f33e5f2
Add sljit and bpfjit to evbmips. Not enabled by default.
2012-11-24 14:00:35 +00:00
pooka
a733ce9a7a
Support clang as EXTERNAL_TOOLCHAIN
2012-11-22 21:41:22 +00:00
pooka
0e23ad4a3c
unrevert previous. i can't figure out how to make the build break with
...
the change anymore, so assume it was a sunspot.
2012-11-21 20:30:01 +00:00
pooka
1495c1a931
revert previous, seems to upset the build in a creative way
2012-11-21 18:45:08 +00:00
pooka
58de144fd6
Allow user override of _GCC_CRT{BEGIN,END}S.
2012-11-21 18:09:10 +00:00
apb
922779be95
Make the test for infinite recursion in PRINTOBJDIR more specific,
...
and make the error case more easily recognisable.
Now "make -V '${PRINTOBJDIR}'" works instead of misinterpreting the "-V"
as infinite recursion.
2012-11-20 10:43:21 +00:00
apb
b7f14c7e34
On second thoughts, don't run "rm -rf" in bsd.clean.mk. Instead,
...
document that CLEANFILES and CLEANDIRFILES must not contain
directory names.
2012-11-19 16:04:54 +00:00
apb
ba27b6db7b
Use "rm -rf" instead of "rm -f" in bsd.clean.mk. This will
...
allow CLEANFILES or CLEANDIRFILES to contain directory names.
2012-11-19 15:14:27 +00:00
apb
ed0cd7eb98
Under "Failed to remove the following files from ${_d}:",
...
print one file name per line, indented to make the list more visible.
2012-11-18 19:52:40 +00:00
apb
19862a7d7d
Change some .if defined(SRCS) to .if defined(SRCS) && !empty(SRCS)
2012-11-18 19:48:29 +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
813e9ae68d
Make it easier build binaries against the host's libs, e.g.
...
libpthread which might be in /lib/x86_64-linux-gnu/libpthread.so.0
or some other unholy place.
2012-11-13 22:30:38 +00:00
skrll
afd752e603
Switch mips to gdb 7.3.1
...
# of expected passes 11545
# of unexpected failures 401
# of expected failures 45
# of untested testcases 23
# of unresolved testcases 1549
# of unsupported tests 112
2012-11-06 10:32:49 +00:00
alnsn
be868ab1a6
Enable MKSLJIT on sparc.
2012-11-05 23:09:40 +00:00
alnsn
ffd8736098
Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386.
2012-11-05 00:57:39 +00:00
christos
acfddfeed2
add MKTPM, default to no
2012-11-04 16:27:28 +00:00
apb
9a72dfd1d1
Add _NETBSD_VERSION_DEPENDS in bsd.own.mk. Targets that need
...
to be re-generated when the NetBSD version numberchanges,
or when any build-related variables change, may depend on
${_NETBSD_VERSION_DEPENDS}.
2012-11-04 10:59:13 +00:00
christos
9a046d1f16
old-style-definitions and no-format-zero-length are invalid for c++
2012-10-06 20:54:58 +00:00
jkoshy
1590a10806
Document the MKKMOD build knob.
2012-10-02 04:53:11 +00:00
jkoshy
02a811410b
Note that the MKCOMPAT build knob is supported on mips64-based
...
architectures.
2012-09-30 03:07:25 +00:00
jkoshy
e8679a18c5
Document the MKDTRACE build knob.
...
Reviewed by: apb
2012-09-29 12:03:41 +00:00
joerg
666a12c72f
Revert two unintentional changes from the PPC tests
2012-09-23 19:20:44 +00:00
joerg
2b3d1ee8a7
Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
...
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
abs
b094e520e2
strip trailing whitespace - noted by Snader_LB on IRC
2012-09-20 15:48:54 +00:00
riz
fb761f7bcb
Remap X11SRCDIR to /usr/xsrc for the MKREPRO=yes case.
2012-09-05 22:40:30 +00:00
jmmv
15cd91994b
Fix "make test" to actually print the desired message when atf-run fails.
...
It was being skipped due to the set -e in the code snippet and the failure
to properly capture atf-run's exit code.
2012-08-25 22:21:16 +00:00
jmmv
afbfa91c1d
Make DPADD and LDADD specific to the test programs. This allows mixing
...
C and C++ test programs in the same Makefile, and prevents regular programs
from being polluted by libraries that they may not need.
Suggested by Garrett Cooper in private mail, although I redid his patch.
2012-08-24 20:28:19 +00:00
jmmv
fcb81e1f92
Allow DPADD to be specified on a per-program basis.
2012-08-24 20:26:24 +00:00
joerg
067600c8cf
Revert last, it breaks the tricks xsrc uses.
2012-08-23 21:21:14 +00:00
joerg
8e96262375
Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
...
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
matt
30a859f903
Add ARM cpus to those MACHINE_ARCH which USE_COMPILERCRTSTUFF=no
2012-08-16 05:30:55 +00:00
joerg
fabb48a37a
Remove effectively tautological condition.
2012-08-10 16:34:23 +00:00
joerg
6ffdafe0ea
Don't set HAVE_GCC by default, if MKGCC is disabled.
2012-08-10 16:12:20 +00:00
joerg
8b623749df
Make linker warnings fatal by default for Clang, even if not building
...
GCC.
2012-08-10 16:11:43 +00:00
matt
5bfda53e09
Add .ARM.exidx as a section to be removed for a.out on ARM
2012-08-10 02:53:09 +00:00
christos
eda981fc36
add MKRUMP by popular demand.
2012-08-08 13:56:13 +00:00
matt
641919f3e4
Add the new MACHINE_ARCH of earm and earmeb (arm EABI(AAPCS-LINUX)).
2012-08-05 04:11:35 +00:00
christos
f788a13164
From pooka: Fix EXTERNAL_TOOLCHAIN compilation where crti/crtn are not in the
...
same directory as crtbegin
2012-07-19 19:42:45 +00:00
macallan
c5214d8b2d
add xgi to the list of known Xorg drivers just to make sure I don't forget
...
to add it here when I actually import it
2012-07-19 15:16:31 +00:00
spz
67d12f6407
more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and
...
MBC2 now always being included)
MKCRYPTO_RC5 now builds shared libs, add the missing files to sets
2012-07-14 16:04:04 +00:00
abs
5659783547
Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
...
give the same treatment to gcc-4.1.
2012-06-25 16:48:55 +00:00
abs
86aebb49c7
Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
...
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.
2012-06-22 20:32:34 +00:00
plunky
f46033d093
since we seem to have grown a WARNS=5, list it here
2012-06-19 06:20:13 +00:00
uwe
e431c4fada
Switch sh3 ports to our own csu (USE_COMPILERCRTSTUFF?= no).
2012-06-17 22:59:48 +00:00
wiz
f6eeb323a5
Document MKREPRO here as well.
2012-05-25 10:48:48 +00:00
joerg
b757af438b
Disable new -Wstring-plus-int warning where needed for now.
...
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg
3c1c42ed5f
Make it easier to specify the list of checkers to enable for the static
...
analyzer.
2012-04-04 10:37:18 +00:00
matt
a969b57018
Add WARNS=5 to enable -Wold-style-definitions
2012-03-20 21:48:20 +00:00
christos
4254cd9bee
allow file-specific lint flag additions
2012-03-17 18:02:41 +00:00
joerg
f03aabbcc7
Don't error out for non-literal format strings with Clang until the rest
...
of the __printflike changes are in the tree.
2012-03-15 15:04:23 +00:00
joerg
17cb70e7b4
Decouple HAVE_LLVM from HAVE_GCC. For GCC, add -Wno-format-zero-length
...
when -Wformat is used.
2012-03-15 02:00:52 +00:00
tron
df92d05dec
Move "libexpat" from X11 into base which fixes PR lib/40346.
...
This change was approved by the Core Group.
2012-02-29 20:07:51 +00:00
matt
f5d3f68d54
Remove another ${SIZE}
2012-02-21 01:41:09 +00:00
matt
0bf8cdb842
Remove ${SIZE}
2012-02-20 18:23:50 +00:00
matt
47c982a38d
Add support for --combine with gcc.
2012-02-19 23:19:37 +00:00
joerg
23782b5c2b
Derive MANINSTALL from MKCATPAGES and MKHTML.
2012-02-17 00:00:02 +00:00
christos
110af54a7b
use osrelease -k to avoid that the path is 6.0_BETA
2012-02-16 23:58:15 +00:00
matt
47dd0a4489
Switch VAX to use GCC 4.5 and GDB 7.
...
Change VAX to use DBG=-O2 like most other ports.
2012-02-10 05:57:42 +00:00
joerg
6c39547510
Sync with reality for MKCATPAGES and MKMANDOC.
2012-02-07 22:58:49 +00:00
joerg
849ff56477
Switch to using mandoc for formatting man pages as new default.
...
Stop building catpages by default.
2012-02-07 19:33:19 +00:00
joerg
410d0f4380
Import the new apropos/whatis.
...
This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.
The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
2012-02-07 19:13:24 +00:00
christos
dfa5043919
rename to OBJCOPYLIBFLAGS
2012-01-28 23:13:24 +00:00
christos
c37ad7ee66
Provide a way to override the default objcopy flags for library modules.
2012-01-28 21:32:13 +00:00
njoly
1d7281ae96
For xkb_base, do not use ${libdir} (xkeyboard-config.pc does not define
...
it) but its value ${prefix}/lib instead.
2012-01-17 19:40:08 +00:00
skrll
0df379aa98
Switch hppa to gdb 7.
2011-11-25 22:03:42 +00:00
apb
6c03a4739d
Use :Q to deal with the case that CLEANFILES or CLEANDIRFILES
...
contains quoted substrings (such as file names with spaces).
Problem reported by Joseph Koshy, who also provided the
important part of the fix.
2011-11-22 18:25:48 +00:00
jdc
39bd26a295
Switch alpha to gdb 7.
2011-11-15 22:55:28 +00:00
christos
50a5b513a2
Add libtre
2011-11-05 22:56:30 +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