Commit Graph

195197 Commits

Author SHA1 Message Date
Enji Cooper
840e70929b MFHead @ r275232 2014-11-29 05:28:40 +00:00
Enji Cooper
67a25fa845 Adapt logic from src.opts.mk to kern.opts.mk to unbreak kernel builds when
MODULES_OVERRIDE is not defined

- Add MACHINE/MACHINE_ARCH logic from src.opts.mk
- Add AUTOFS, BHYVE, HYPERV, and ISCSI
2014-11-29 05:14:26 +00:00
Enji Cooper
e0cbf36b20 Make ee(1) optional via MK_EE 2014-11-29 01:58:52 +00:00
Enji Cooper
1324339bd2 Implement mdoc cross references 2014-11-29 01:55:59 +00:00
Enji Cooper
ad50ede66c Fill in MK_VI == no 2014-11-29 01:53:55 +00:00
Enji Cooper
1d91a05822 share/termcap requires ex from usr.bin/vi in order to compile, and since usr.bin
comes after share in SUBDIR in Makefile.inc1, the build will fail when vi is not
installed on the build host

Run build-tools for usr.bin/vi and install ex, etc to WORLDTMP to enable building
share/termcap on hosts that don't have nvi installed on them
2014-11-29 01:53:27 +00:00
Baptiste Daroussin
4bf5485791 Update libucl to latest version
While here correctly link libucl to libm and register the dependency on libm
for static building
2014-11-29 00:45:09 +00:00
Baptiste Daroussin
1eea90048f Update libucl to latest version 2014-11-29 00:33:10 +00:00
Enji Cooper
ef0036244a Remove the conditional 2014-11-28 22:08:50 +00:00
Enji Cooper
0a775c8d2e Install skeleton files based on the values of MK_MAIL and MK_TCSH
Customize according to MK_GAMES and MK_VI, in particular comment out lines
that would change behavior

Change dot.cshrc and dot.profile to not check for /usr/games/fortune based
on the new behavior in customizing the files
2014-11-28 22:07:16 +00:00
Baptiste Daroussin
a7f8c4eb4c Readd Makefile.inc that were used to include upper level Makefile.inc and
set (among other things) the destination where the binary should be installed
2014-11-28 22:03:35 +00:00
Enji Cooper
6dd1d788eb Ignore usr/share/nls 2014-11-28 20:48:53 +00:00
Bjoern A. Zeeb
2c3774c183 After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.
2014-11-28 14:51:49 +00:00
Eygene Ryabinkin
317d2b1e5c DRM2: fix off-by-one overflow in ioctl processing
Call to the driver-specific ioctl used to process ioctl number
that will lead to the out-of-bounds access to the ioctl handler
array.

PR:		193367
Approved by:	kib
MFC after:	1 week
2014-11-28 12:14:59 +00:00
Andrew Turner
15eb3a7427 Some device tree configurations place the generic timer under the root
of the tree and not under simplebus. Update the driver to handle this.

Submitted by:	Julien Grall <julien.grall AT linaro.org>
MFC after:	1 week
2014-11-28 11:49:26 +00:00
Andrew Turner
56f0c37e9f We don't use the hypervisor interrupt, make it optional in the device tree.
Submitted by:	Julien Grall <julien.grall AT linaro.org>
MFC after:	1 week
2014-11-28 11:45:53 +00:00
Konstantin Belousov
70778bba03 Assert the state of the process lock and sigact mutex in
kern_sigprocmask() and reschedule_signals().

Discussed with:	rea
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-11-28 10:20:00 +00:00
Hans Petter Selasky
50ae6690fc Style changes:
- Move two IOCTL related defines to the top of the C-file
- Add more comments describing the recently added IOCTL small size and
small align macros
2014-11-28 09:32:07 +00:00
Cy Schubert
006e24e909 Correctly define constants.
MFC after:	1 week
2014-11-28 04:07:06 +00:00
Enji Cooper
2d561fcbcf Use ${.TARGET} instead of hardcoding the name in the dump build rule 2014-11-27 23:42:32 +00:00
Alexander V. Chernikov
1a3a2b6798 Fix build broken by r275195. 2014-11-27 23:10:03 +00:00
Alexander V. Chernikov
74860d4f7c Do not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
return lle flags IFF needed.
Do not pass rte to arpresolve - pass is_gateway flag instead.
2014-11-27 23:06:25 +00:00
Alexander V. Chernikov
c69aeaad14 Do not try to copy header to @dst and than back to ethernet in case of
pseudo_AF_HDRCMPLT:

we copy media header from mbuf to 'struct sockaddr' @dst in bpf_movein, so
mbuf already contains valid info.
2014-11-27 21:29:19 +00:00
Baptiste Daroussin
5541c06713 Remove leftovers readline being changed to an internallib 2014-11-27 20:24:58 +00:00
Ed Maste
1577843e02 Put each SUBDIR on a separate line
This makes it easier to review or merge changes that modify some subset
of SUBDIRs.
2014-11-27 20:22:46 +00:00
Ed Maste
a85fe12e36 Copy elftoolchain binutils replacements from vendor branch
Sponsored by:	The FreeBSD Foundation
2014-11-27 20:12:13 +00:00
Roman Divacky
2dd4dcd2ab Revert part of r275059. Comparing unsigned 8 bit value
against -'0' is always false so the conditional block is
optimized away.
2014-11-27 18:43:44 +00:00
Justin Hibbits
409062f166 Fix hwpmc sampling for ppc970 (G5-class) processors.
With this, hwpmc sampling now works on these processors.

MFC after:	3 weeks
Relnotes:	yes
2014-11-27 18:41:14 +00:00
Maxim Konovalov
2da9bf1ddc o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added. 2014-11-27 14:54:17 +00:00
Enji Cooper
68b259bdd5 Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal bits to MK_LIB32 2014-11-27 09:53:17 +00:00
Enji Cooper
92e0655db4 Honor MK_AUTOFS 2014-11-27 09:50:12 +00:00
Enji Cooper
a8b303ad4d Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG 2014-11-27 09:42:40 +00:00
Enji Cooper
b7c1742fa8 Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression 2014-11-27 09:40:36 +00:00
Nick Hibma
87cca91264 clean_build is not always done (*), so move the mkdir to the first step
that needs it and is always done: make.conf build.

(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.
2014-11-27 09:17:42 +00:00
Enji Cooper
caedb5eb29 Honor MK_EXAMPLES 2014-11-27 08:31:20 +00:00
Enji Cooper
0a579cc707 Handle MK_RADIUS_SUPPORT in usr.sbin/ppp 2014-11-27 07:56:28 +00:00
Enji Cooper
899d8a5bd5 Only install libmap32.conf if MK_LIB32 != no 2014-11-27 07:49:25 +00:00
Enji Cooper
ee0d2af8e2 Until I teach bsd.*.mk to accept NO_ROOT, make this script only accept root users 2014-11-27 07:33:50 +00:00
Enji Cooper
7e8bf5690f Remove /etc/X11 entry from BSD.root.dist
- FreeBSD hasn't packaged X11 with the distro since 8.x
- X.org hasn't required xorg.conf [in /etc/X11] for some time now
- X.org should work with ${LOCALBASE}/etc/X11
- This path should be included in the X.org package manifest
2014-11-27 07:26:20 +00:00
Enji Cooper
eaf49814e9 Ignore boot and remove from MK_BOOT additions done in previous commit 2014-11-27 07:19:36 +00:00
Enji Cooper
b13f4f90e4 Fill in MK_BOOT for amd64 2014-11-27 07:17:32 +00:00
Justin Hibbits
bd52e21d55 Fix hwpmc sampling for MPC74xxx (G4) processors.
With this, hwpmc sampling now works correctly on these processors.

MFC after:	3 weeks
Relnotes:	yes
2014-11-27 06:42:34 +00:00
Enji Cooper
66ca0717df Convert sbin/mdconfig/tests from prove format tests to ATF format tests
As a side effect...
1. The tests now checks for the root user before continuing with kyua, which is
   more visible than the test being skipped with the TAP protocol
2. The tests work with devices that aren't /dev/md0 by caching the device
   attached during the test to a file, and later use the cached information to
   detach the device in the cleanup routine
3. The tests no longer require perl to run

MFC after: 1 week
PR: 191191
Sponsored by: EMC / Isilon Storage Division
2014-11-27 06:04:00 +00:00
Enji Cooper
254aaed7cf Fix typos: MK_RADIUS -> MK_RADIUS_SUPPORT 2014-11-27 04:23:00 +00:00
Enji Cooper
7a818dff67 Populate MK_CUSE, MK_NETGRAPH, MK_NETGRAPH_SUPPORT, and MK_RADIUS_SUPPORT 2014-11-27 04:19:01 +00:00
Enji Cooper
f541dd9b51 Implement MK_RADIUS_SUPPORT to make libradius and assorted support optional 2014-11-27 04:16:47 +00:00
Enji Cooper
ebb7b8dbb0 Honor MK_ATM, MK_CUSE, and MK_NETGRAPH_SUPPORT
Shuffle around conditionals so they're better sorted
2014-11-27 04:01:39 +00:00
Enji Cooper
9f325b1e41 Implement knobs for MK_NETGRAPH_SUPPORT 2014-11-27 03:59:57 +00:00
Ed Maste
d4287c3092 ANSIfy b64_pton 2014-11-27 02:15:35 +00:00
Kevin Lo
8bc29bb269 Init array field in the proper place.
Obtained from:	OpenBSD
2014-11-27 01:37:01 +00:00