Commit Graph

2369 Commits

Author SHA1 Message Date
matt
f1588c096e For mips64, build kmodules using N64 ABI 2015-05-02 18:18:13 +00:00
mrg
aaabec45f9 two changes to radeon drm firmware:
- only install it by default on x86, set new MKRADEONFIRMWARE variable
- install in /libdata, so that separate /usr systems work

(this still doesn't solve PR#49811, which possibly could be handled by
having them being a kernel module loaded by /boot.)
2015-04-26 21:37:22 +00:00
pooka
70483504a1 Build ZFS by default only for amd64, not i386.
If we build i386 for 486 (i.e. no 64bit atomic ops) and as a substitute
for the modern hardware that the code was designed to run on use solid
workarounds like external/cddl/osnet/lib/libzpool/atomic.c, there's not
much point in anything.
2015-04-22 19:43:45 +00:00
mrg
df9c189fea remove support to look for GCC 4.5 in gcc.old. 2015-04-08 06:03:09 +00:00
mrg
22ccd76416 fix the description of MKX11RADEONKMS, as pointed out in PR#49753. 2015-03-17 01:58:29 +00:00
mrg
50e581ea01 add build framework to choose between xf86-video-ati 6.x (UMS/KMS)
and 7.x (KMS only), and switch x86 to the latest (KMS only) version.

(if someone can make x86 install both radeon_drv.so.[67] and leave
the default symlink to .7, that would be nice.  renaming it so that
it's easier to choose via xorg.conf is a little more tricky..)
2015-03-01 07:46:04 +00:00
snj
9235716d61 prune a number of now-nonexistent xorg components 2015-02-26 04:49:16 +00:00
jmcneill
889ad2c6eb Build and install Mesa GBM buffer management library (libgbm). 2015-02-23 00:09:30 +00:00
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