Commit Graph

178834 Commits

Author SHA1 Message Date
Simon J. Gerraty
c2365cc4cc Updated dependencies 2013-03-17 01:54:35 +00:00
Simon J. Gerraty
0014c9fea8 We need .OBJDIR done earlier 2013-03-17 01:53:47 +00:00
Simon J. Gerraty
6c5406e48c Improve DIRDEP filtering.
Allow DEP_SKIP_DIR and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE.
2013-03-17 01:51:23 +00:00
Simon J. Gerraty
c3a4fd2f26 Should not be here 2013-03-17 01:49:30 +00:00
Simon J. Gerraty
f1b3609366 Add kernel and toolchains to the-lot 2013-03-17 01:48:56 +00:00
Simon J. Gerraty
922a6047aa Check if we already have all: 2013-03-15 20:21:18 +00:00
Simon J. Gerraty
10cd22b1e6 Make sure we qualify _objroot with trailing / if needed 2013-03-15 20:20:14 +00:00
Simon J. Gerraty
cb9c7ed1cf A bit finer control so we can build toolchain for host 2013-03-15 20:19:18 +00:00
Simon J. Gerraty
8c95c434cb If self.machine is host we need to also trim self.host_target from
objroots to ensure we do not get confused.
2013-03-15 20:18:30 +00:00
Simon J. Gerraty
b023fdc47a We want meta.stage.mk when cleaning 2013-03-14 22:04:53 +00:00
Simon J. Gerraty
ab103c4628 Build kernel 2013-03-14 22:04:25 +00:00
Simon J. Gerraty
0a7402f278 If .MAKE.DEPENDFILE_DEFAULT is not machine qualified, and we
find oursleves creating a machine qualified .MAKE.DEPENDFILE which
is identical to a default which exists - skip it.

This allows us to create Makefile.depend.host where it matters,
while leveraging Makefile.depend where it is sufficient.
2013-03-12 17:23:23 +00:00
Simon J. Gerraty
00140433d2 Apply DEP_DIRDEPS_FILTER.${DEP_MACHINE} as needed.
Use DEP_DIRDEPS_FILTER.host to supress dependencies for host tools.
2013-03-12 17:21:03 +00:00
Simon J. Gerraty
7cf3a1c6b2 Updated dependencies 2013-03-11 17:21:52 +00:00
Simon J. Gerraty
e8eb6b5cd6 Always report elapsed time 2013-03-08 22:15:00 +00:00
Simon J. Gerraty
8fe4beee04 Allow staging to be help up (by .WAIT) until other
bits of all: are done.
2013-03-08 22:02:08 +00:00
Simon J. Gerraty
9c6f3ad90f Control default .MAKE.DEPENDFILE indepentend of .MAKE.DEPENDFILE_PREFERENCE 2013-03-08 01:51:32 +00:00
Simon J. Gerraty
360b987536 One .ORDER should suffice 2013-03-08 00:23:42 +00:00
Simon J. Gerraty
92054a537e Ensure natural order of stage_*: matches the .ORDER in meta.stage.mk 2013-03-08 00:23:21 +00:00
Simon J. Gerraty
55f2e9ab1c Stage*(): return early if no args, and thow error if cp etc., fails. 2013-03-08 00:05:34 +00:00
Simon J. Gerraty
7da8703584 DESTDIR is set already 2013-03-06 18:39:40 +00:00
Simon J. Gerraty
daba14838c Use pkgs/pseudo/stage to run mtree against STAGE_OBJTOP 2013-03-06 18:35:57 +00:00
Simon J. Gerraty
57bf5f75ba Move STAGING related setup to bsd.sys.mk 2013-03-04 21:36:34 +00:00
Simon J. Gerraty
c2ec0b5183 Handle multiple M2D_OBJROOTS better 2013-03-04 21:35:49 +00:00
Simon J. Gerraty
76fbd285d2 Need .ORDER for various stage_* targets 2013-02-26 05:44:48 +00:00
Simon J. Gerraty
57c4bd1316 Simplify handling of chmod 2013-02-26 05:44:12 +00:00
Simon J. Gerraty
34ce9cc44f Do no assume ${DESTDIR}/usr/include is always valid 2013-02-20 00:13:26 +00:00
Simon J. Gerraty
ea7315fe66 Cleanup 2013-02-17 23:46:17 +00:00
Simon J. Gerraty
945407b1e2 target to build toolchain 2013-02-16 05:22:48 +00:00
Simon J. Gerraty
b068afb4a2 Avoid problems with read-only osreldate.h 2013-02-16 01:36:14 +00:00
Simon J. Gerraty
ddafe92543 ftpd needs telnet.h so install it regardless 2013-02-16 01:32:03 +00:00
Simon J. Gerraty
f5f7c05209 Updated dependencies 2013-02-16 01:23:54 +00:00
Simon J. Gerraty
5ac3e457ef We may only have INCSLINKS, and STAGE_SYMLINKS should all be full paths. 2013-02-16 01:20:56 +00:00
Simon J. Gerraty
6bc671bb67 If MAKESYSPATH contained .../ entry resolve it so that it still works
when we launch make from obj tree.
If we don't have sysroot support we need some c++ and clang specific
include dirs in the stage tree.
2013-02-16 01:19:18 +00:00
Simon J. Gerraty
4ed4429c63 Latest *dirdeps.mk and meta2deps 2013-02-16 01:16:53 +00:00
Simon J. Gerraty
b1eb0fa2de tweak STAGE_SETS 2013-02-16 01:14:27 +00:00
Simon J. Gerraty
0649e98d2d hook stage_* to all: only as needed 2013-02-16 01:13:30 +00:00
Simon J. Gerraty
03bec0a956 Remove duplicate option entries 2013-02-16 01:11:40 +00:00
David E. O'Brien
d9a447559b Sync with HEAD. 2013-02-08 16:10:16 +00:00
David E. O'Brien
3cbf5f97aa Correct the r242545 sync with head@242525. 2013-02-07 00:48:42 +00:00
Pawel Jakub Dawidek
fbda3d5dae Audit sockaddr argument for bind(2), connect(2), accept(2), sendto(2) and
recvfrom(2) syscalls.

Sponsored by:	The FreeBSD Foundation
2013-02-07 00:36:00 +00:00
Pawel Jakub Dawidek
82b316b377 Minor style tweaks. 2013-02-07 00:27:11 +00:00
Pawel Jakub Dawidek
222069f454 Add AUDIT_ARG_SOCKADDR() macro so we can start using the audit_arg_sockaddr()
function, which is currently unused.

Sponsored by:	The FreeBSD Foundation
2013-02-07 00:24:23 +00:00
Hans Petter Selasky
76b7121294 Add support for buttons on USB audio devices,
like Volume Up and Volume Down.

Reviewed by:	mav @
MFC after:	1 week
2013-02-06 17:43:05 +00:00
John Baldwin
a120a7a3cd Rework the handling of stop signals in the NFS client. The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Also, instead of setting PBDRY on individual sleeps,
the NFS client now sets the TDF_SBDRY flag around each NFS request and
stop signals are masked for all sleeps during that region (the previous
change missed sleeps in lockmgr locks).  The end result is that stop
signals sent to threads performing an NFS request are completely
ignored until after the NFS request has finished processing and the
thread prepares to return to userland.  This restores the behavior of
stop signals being transparent to userland processes while still
preventing threads from suspending while holding NFS locks.

Reviewed by:	kib
MFC after:	1 month
2013-02-06 17:06:51 +00:00
Sergey Kandaurov
23c053d6a2 Prezero the acl structure which is to be copied to usermode, to avoid
leakage of the previous content of padding and unitialized fields.

Reported by:	Ilia Noskov <noskov@nic.ru>
Reviewed by:	kib
MFC after:	1 week
2013-02-06 15:18:46 +00:00
Hans Petter Selasky
68fdacf7c5 Make sure that all mouse buttons are released when clients
using /dev/consolectl close. This fixes a problem where if
a USB mouse is detached while a button is pressed, that
button is never released.

MFC after:	1 week
2013-02-06 11:16:18 +00:00
Gleb Smirnoff
5fb0e927a8 Fixes to QUEUE_MACRO_DEBUG support:
- Add const quilifiers to fields that store value of __FILE__.
 - Use long type for fields that store value of __LINE__.
 - Sort and style(9) debugging fields.
 - Add initializer for debugging fields into TAILQ_INITIALIZER macro.

PR:		175759
Submitted by:	Andrey Simonenko <simon comsys.ntu-kpi.kiev.ua>
Reviewed by:	bde
2013-02-06 07:27:25 +00:00
Navdeep Parhar
0d8158d796 Busy-wait when cold.
Reported by:	gnn, jhb
MFC after:	3 days
2013-02-06 06:44:42 +00:00
Neel Natu
6d62a48f47 Compute the number of initial kernel page table pages (NKPT) dynamically.
This eliminates the need to recompile the kernel when the default value
of NKPT is not big enough - for e.g. when loading large kernel modules
or memory disk images from the loader.

If NKPT is defined in the kernel configuration file then it overrides the
dynamic calculation.

Reviewed by:	alc, kib
2013-02-06 04:53:00 +00:00