Commit Graph

2361 Commits

Author SHA1 Message Date
chs
b0a14f469c switch m68k to use gcc48. 2015-01-23 03:43:24 +00:00
mrg
0e4eb59327 sets.subr:
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.

dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00
mrg
a4ee9f7109 fix MKGCCCMDS=no, and turn it on by default for sun2. 2015-01-05 01:52:23 +00:00
mrg
fbfbb2ece8 move xorg-server.pc's SDK_REQUIRED_MODULES into the local Makefile. 2014-12-30 22:07:21 +00:00
christos
abe684efd6 protect the variable name, and explain why setting it does not work. 2014-12-19 22:25:39 +00:00
christos
4a9ac4bbf0 Explain why used to fold case when deciding if we are going to install manual
page links, and change the behavior not to do this anymore.
2014-12-19 21:43:11 +00:00
mrg
c0fe630cea switch PPC to GCC 4.8. 2014-12-18 02:28:34 +00:00
mrg
e72a1182e8 add X11SRCDIR entries for the new separated mesa components. 2014-12-16 06:04:10 +00:00
erh
6830ef879f PR toolchain/9618: add ".d" to MKDEP_SUFFIXES so the depend files are rebuilt
if any of their dependencies (i.e. the files they refer to) are changed.
This allows changes to transitive included headers to be handled properly.
2014-12-01 01:34:30 +00:00
uebayasi
0a333665fa Add a new build make variable, CONFIGOPTS, which is passed to config(1)
when building kernels.  Revert "mkernel=*" and "mkernels" in favor of
this option.

Diff posted on source-changes-d@, approved by (null).
2014-11-30 15:53:29 +00:00
skrll
74ec17a2af Another section to delete when converting elf -> a.out 2014-11-25 12:01:18 +00:00
christos
3cbbf4418f do the dependencies in a simpler way using a separate target 2014-11-13 02:31:24 +00:00
uebayasi
67ba08fd77 If mkldscript.sh is used to build ${PROG}, depend on it. 2014-11-13 01:09:59 +00:00
christos
741166e931 sync both instances of the ldscript. 2014-11-12 19:33:32 +00:00
christos
9e2fae1cfa add -t to mkldscript 2014-11-12 13:24:34 +00:00
christos
59a749aa6e use ${HOST_SH} 2014-11-12 02:50:01 +00:00
christos
98b9cde369 Enable dynamic link script generation to handle __{start,stop}_link_set_*
via a variable; perhaps delete the variable and always do it?
2014-11-12 02:19:28 +00:00
uebayasi
148a2a3b87 Leave .map when linking .kmod. 2014-11-06 12:05:44 +00:00
apb
a6801ebc39 Use HAVE_LLVM, not MKLLVM, in tests related to the active compiler.
Fixes problems in a build with MKLLVM=yes HAVE_LLVM=no,
where this error interacted with settings in
src/external/gpl3/gcc/lib/libgcc/Makefile.inc to cause
some object files to be omitted from the libgcc_s library.
2014-10-05 17:08:46 +00:00
matt
20d5bfd3d3 Add RISCV-V support. 2014-09-19 17:45:42 +00:00
christos
69b6b2b0d0 Add WARNS=6 2014-09-06 12:12:32 +00:00
matt
057deb371a Change to support OR1K 2014-09-03 19:22:53 +00:00
matt
63c25b297c Change powerpc64 to use GCC 4.8 2014-08-23 02:26:36 +00:00
joerg
6faaf3e4db Use wildcards for stripping/preserving the mapping symbols on ARM and
AArch64. LLVM creates unique symbols in each file of the form $a.n etc.
2014-08-14 18:39:38 +00:00
matt
c8bf6ef46e Fix typo in OBJCOPYLIBFLAGS_EXTRA for aarch64eb. 2014-08-14 15:14:45 +00:00
joerg
a54e6af460 Use compiler-rt and libc++ with LLVM on PowerPC64. 2014-08-13 20:51:26 +00:00
justin
9f706c8b92 Respect EXTERNAL_TOOLCHAIN on aarch64 2014-08-13 18:25:11 +00:00
matt
0bccd770b8 Change the way we default MK vars to yes or no allowing
MK<var>.${MACHINE_ARCH} to override.
e.g MKGDB.aarch64=no will default MKGDB to no on aarch64
2014-08-11 22:28:50 +00:00
jnemeth
3481529578 Add the infrastructure for MODULAR support for Xen kernels. At
the moment, this can only load very simple modules due to missing
symbols.  It is being add at this time to make pullups to the
netbsd-7 branch easier.  It is not enabled by default in any kernels.
2014-08-11 03:43:25 +00:00
joerg
4ca7de0cb3 Put GCC/GAS specific options under ACTIVE_CC == "gcc". 2014-08-10 17:44:26 +00:00
joerg
6e4f4efa7c LLVM builds on PowerPC want no libgcc, but enabled libc++. 2014-08-10 17:39:11 +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
apb
146f7f2fe4 Wrap CTFCONVERT invocations in ${defined(CTFCONVERT):? ... :}
so it performs the test at the time the rule is invoked.  We can't
use a ".if defined" test because that would be tested at the time the
sys.mk file is parsed, which may be before CTFCONVERT has been set by
bsd.own.mk.

Remove the now-unnecessary assignment "CTFCONVERT ?= : ctfconvert",
and the similar assignment to CTFMERGE.  Now the build logs are not
cluttered by many unnecessary invocations of the ": ctfconvert ..."
2014-08-06 15:23:48 +00:00
apb
2e4737e211 Typo in comment 2014-08-05 15:51:23 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
apb
6b9469411b Provide and document GZIP_N_FLAG and TOOL_GZIP_N.
These may be used to pass "-nT" instead of just "-n"
when the gzip program is actually pigz.
2014-08-05 15:25:20 +00:00
plunky
95e44a9f0c add p++ tool, for PCC 2014-07-24 20:29:19 +00:00
lneto
4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
plunky
c76e451dca when calling mkdep, pass any -std=* flags for C and C++ source files
to ensure that any definitions this implies are set
2014-07-19 17:19:22 +00:00
nakayama
4a75cb34db Add new transform for gl.pc.
Now GLX_TLS is "no" since GLX_USE_TLS is not defined.
2014-07-16 14:10:26 +00:00
christos
f4679b8a67 stray slash 2014-07-15 13:27:04 +00:00
christos
0fb28704a3 fix typo 2014-07-15 13:25:40 +00:00
christos
da52f38464 Add vfontedpr 2014-07-15 13:22:39 +00:00
dholland
fa41303899 Add MKGROFFHTMLDOC and make it default to no. It seems that sometimes
when generating html groff runs netpbm behind your back. Needless to
say we don't have netpbm in base, so this fails on a clean install; so
for now disable generating html for /usr/share/doc by default.
Workaround for PR 48970.

It seems that all available document preparation toolchains are made
of fail.
2014-07-06 18:22:03 +00:00
dholland
92684d2864 Don't install EXTRAHTMLFILES if MKHTML is "no". 2014-07-06 06:34:33 +00:00
dholland
0663904a6f Remove HTMLDOCDIR; it is no longer used (and doesn't fit the docs
scheme) and it was never honored anyway except in a couple places.
2014-07-05 19:23:38 +00:00
dholland
c3ab26950f Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00
mrg
200f5dd968 set TOOLCHAIN_MISSING for playstation2.
default EXTERNAL_TOOLCHAIN to choosing to be GCC.

ps2 pkgsrc almost works now..
2014-06-29 15:10:17 +00:00
tsutsui
9118f0148c Use "-O2 -fno-reorder-blocks" instead of "-Os" for m68k default optimization.
"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower.  "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html

No objection in the thread and "seems fine to me" from mrg@.
2014-06-29 05:20:15 +00:00
christos
5326abe227 unbreak powerpc64; it is not ready for gcc-4.8 ATM. 2014-06-23 02:13:53 +00:00