Commit Graph

174143 Commits

Author SHA1 Message Date
David E. O'Brien
3cbf5f97aa Correct the r242545 sync with head@242525. 2013-02-07 00:48:42 +00:00
Simon J. Gerraty
ab970acff7 Use STAGE_OBJTOP for STAGE_SYMLINKS_DIR etc 2013-01-29 00:11:21 +00:00
Simon J. Gerraty
c20fef5874 Handle chmod of staged files/links 2013-01-29 00:10:05 +00:00
Simon J. Gerraty
116d45081b Handle staging SYMKINKS and LINKS better 2013-01-29 00:07:54 +00:00
Simon J. Gerraty
6579d1464d Move build of openpam_static_modules.o to its own subdir
to avoid circular dependency b/w libpam and modules.

Reviewed by:	obrien
2013-01-24 19:09:38 +00:00
Simon J. Gerraty
63478911d0 Include the target filename in SYMLINKS to avoid any confusion about
what is dirname and filename.
2013-01-23 00:49:05 +00:00
Simon J. Gerraty
0dfb7ef6ae If PROGNAME is set, we need to use stage_as rather than stage_files
to control the name in the stage tree.
2013-01-23 00:47:43 +00:00
Simon J. Gerraty
bd64a3c9dc Because the target of SYMLINKS is typically a full path, we
"stage" them to the stage tree rather than a location within.
2013-01-23 00:46:53 +00:00
Simon J. Gerraty
c8c7a91dff Put NLS related symlinks into their own variable, so that
when MK_STAGING_PROG is true, we can put them in the right place.
2013-01-17 18:28:26 +00:00
Simon J. Gerraty
81d623fe15 Add pkgs/Makefile* and pkgs/pseudo/* so folk can test drive. 2012-11-09 05:44:34 +00:00
Simon J. Gerraty
16974e1031 Add TIME_STAMP 2012-11-09 05:43:15 +00:00
Simon J. Gerraty
6427a5d492 defined(${group}NAME) is also a trigger for special handling 2012-11-08 21:40:05 +00:00
Simon J. Gerraty
72f888f181 Allow clean at level 0 2012-11-08 21:39:00 +00:00
Simon J. Gerraty
1e5c3c2b29 Need CXXFLAGS_LAST and LDFLAGS_LAST 2012-11-08 21:38:26 +00:00
Simon J. Gerraty
1d45f69b29 Use prebuild and a barrier, to allow ensuring headers are
staged before we attempt to build anything.
2012-11-08 21:36:19 +00:00
Simon J. Gerraty
6f385941d9 Need CXXFLAGS_LAST and LDFLAGS_LAST 2012-11-08 21:35:20 +00:00
Simon J. Gerraty
53cafa23cd We need /backward too it seems 2012-11-08 21:34:29 +00:00
Simon J. Gerraty
43d24beb7b Avoid circular dependency with librtld_db 2012-11-08 21:33:13 +00:00
Simon J. Gerraty
a421503148 include/arpa installs telnet.h 2012-11-08 21:32:19 +00:00
Simon J. Gerraty
5ade06afb3 Avoid two makefiles trying to install the same headers 2012-11-08 21:31:37 +00:00
Simon J. Gerraty
5ee6a1b45f We need headers from ${KRB5DIR}/include too 2012-11-08 21:30:54 +00:00
Simon J. Gerraty
1fc3515c9b Fix .ORDER to not conflict with captured dependencies 2012-11-08 21:29:59 +00:00
Simon J. Gerraty
a009d2385b Qualifying targets with ${.OBJDIR}/ confuses make for little reason. 2012-11-08 21:29:03 +00:00
Simon J. Gerraty
adf23bef06 If we are staging, we need to look in the right place, for
the headers we want to examine.
2012-11-08 21:27:46 +00:00
Simon J. Gerraty
7cd2dcf076 Updated/new Makefile.depend 2012-11-08 21:24:17 +00:00
Simon J. Gerraty
c9b6e5b40b We ended up with contrib/bmake 2012-11-08 21:19:15 +00:00
Simon J. Gerraty
6ff48435f9 Latest version from Crufty 2012-11-08 21:15:57 +00:00
Simon J. Gerraty
fbc1b149eb Latest dirdeps etc from Juniper Networks. 2012-11-08 21:14:57 +00:00
Simon J. Gerraty
23090366f7 Sync from head 2012-11-04 02:52:03 +00:00
Marcel Moolenaar
22ff74b2f4 Add a MD_ROOT_FSTYPE kernel option. The option specifies the
file system part for the MD_ROOT mount string. Hardcoding the
the file system type as "ufs" is too restrictive.
2012-11-03 21:20:55 +00:00
Marcel Moolenaar
d3576a3f9d Add the bus attachment for the embedded EHCI HC. 2012-11-03 21:08:27 +00:00
Marcel Moolenaar
db43ed3750 Allow using the embedded EHCI host controller in Freescale SoCs
by adding the missing bits. See ehci_fsl.c for their use.
2012-11-03 21:05:32 +00:00
Marcel Moolenaar
3c4ee57d94 Add the buildLINT convenience target, handy for build automation.
The automation can set TARGET_ARCH and TARGET and then make various
top-level targets, including buildLINT and buildkernel (with
KERNCONF=LINT). Previously there was no way to generate the LINT
kernel configuration without having to do something exceptionally
painful.
2012-11-03 20:43:12 +00:00
Maxim Konovalov
87ae2c7848 o DragonFly 2.3.1 added. 2012-11-03 19:26:08 +00:00
Kirk McKusick
aa7ddc85c7 When a file is first being written, the dynamic block reallocation
(implemented by ffs_reallocblks_ufs[12]) relocates the file's blocks
so as to cluster them together into a contiguous set of blocks on
the disk.

When the cluster crosses the boundary into the first indirect block,
the first indirect block is initially allocated in a position
immediately following the last direct block.  Block reallocation
would usually destroy locality by moving the indirect block out of
the way to keep the data blocks contiguous.  This change compensates
for this problem by noting that the first indirect block should be
left immediately following the last direct block.  It then tries
to start a new cluster of contiguous blocks (referenced by the
indirect block) immediately following the indirect block.

We should also do this for other indirect block boundaries, but it
is only important for the first one.

Suggested by: Bruce Evans
MFC:          2 weeks
2012-11-03 18:55:55 +00:00
Xin LI
652c42600b Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency.
MFC after:	2 weeks
2012-11-03 18:38:28 +00:00
Attilio Rao
19d4153329 Merge r242395,242483 from mutex implementation:
give rwlock(9) the ability to crunch different type of structures, with
the only constraint that they have a lock cookie named rw_lock.
This name, then, becames reserved from the struct that wants to use
the rwlock(9) KPI and other locking primitives cannot reuse it for
their members.

Namely such structs are the current struct rwlock and the new struct
rwlock_padalign. The new structure will define an object which has the
same layout of a struct rwlock but will be allocated in areas aligned
to the cache line size and will be as big as a cache line.

For further details check comments on above mentioned revisions.

Reviewed by:	jimharris, jeff
2012-11-03 15:57:37 +00:00
Eitan Adler
382dc3ca38 Revert the change that makes less default.
Since I've committed this I've receieved roughly an equal
amount of email thanking me for making this change
and asking me to revert it.

I've resisted making this change because
new users tend to prefer less over more
and these users are the least likely to know
how to change the PAGER on their own.

Requested by:	many
Objected to:	just as many
Decision made by:	core
Approved by:	cperciva
MFC after:	3 days
2012-11-03 14:46:15 +00:00
Michael Tuexen
4ed0ebf649 Fix errno in a couple of error cases.
MFC after: 3 days
2012-11-03 13:22:25 +00:00
Jaakko Heinonen
2923ae8a85 Print a newline after the error message.
PR:		bin/168447
Submitted by:	Boris Kochergin
2012-11-03 09:18:37 +00:00
Adrian Chadd
b90559c429 HAL API updates, from the previous couple of HAL commits. 2012-11-03 04:56:08 +00:00
Adrian Chadd
f74b406ddd HAL API changes!
* introduce a new HAL API method to pull out the TX status descriptor
  contents.

* Add num_delims to the 11n first aggr method.  This isn't used by the
  driver at the moment so it won't affect anything.
2012-11-03 04:55:43 +00:00
Adrian Chadd
70ee90299b Add a debug method to dump the EDMA TX status descriptor contents out.
This requires some HAL API changes to be useful, as there's no way
right now to pull out the TX status descriptor contents.
2012-11-03 04:53:44 +00:00
Xin LI
299ff0d7cc Sync strlcpy with userland version.
MFC after:	1 month
2012-11-03 04:29:24 +00:00
Xin LI
6afdae4139 Sync strlen with userland implementation.
MFC after:	1 month
2012-11-03 04:28:53 +00:00
Baptiste Daroussin
46f8c63df6 Fix typo 2012-11-03 00:30:22 +00:00
Simon J. Gerraty
31c0b21fed If no contents keyword is specified, the default for files is
the named file.

Approved by:	marcel (mentor)
2012-11-03 00:10:30 +00:00
Joel Dahl
8850c7d71f Add a couple of examples.
Obtained from:	OpenBSD
2012-11-02 22:32:47 +00:00
Xin LI
808df72635 Copy code from scsi_read_write() as mfi_build_syspd_cdb() to build SCSI
command properly.  Without this change, mfi(4) always sends 10 byte READ
and WRITE commands, which will cause data corruption when device is
larger than 2^32 sectors.

PR:		kern/173291
Submitted by:	Steven Hartland <steven.hartland multiplay.co.uk>
Reviewed by:	mav
MFC after:	2 weeks
2012-11-02 22:07:45 +00:00
Jim Harris
ac6a9a8e21 Update nsamples and nbuffers defaults to match reality. 2012-11-02 22:03:39 +00:00