pgoyette
f93daef0af
Build helper programs as PROGS and not as TESTS_{C,SH}
...
This enables us to remove custom Atffiles whose only purpose was to avoid
using the helpers as tests.
XXX src/tests/dev/dm/ is not (yet) linked into the build!
2012-12-02 18:39:53 +00:00
msaitoh
20de507730
Add get_device(), set_root_device() to get root device via bootargs.
...
This is same as some other archs. PR#47250.
2012-12-02 18:22:45 +00:00
msaitoh
bbe22882db
Get bootargs and parse them. This was accidentally removed in rev. 1.17.
...
Fixes PR#47250.
2012-12-02 18:20:20 +00:00
pgoyette
826c760e5d
Helper programs are programs, not tests, so build them appropriately.
...
Thie removes the need for custom Atffiles whose only purpose was to exclude
the helpers that had been built as tests.
2012-12-02 17:36:10 +00:00
chs
2e01f80e03
fix device/softc split: initialize sc->sc_dev.
2012-12-02 15:34:36 +00:00
apb
15a61bc010
Change the default value of COMPATLIB_UNINSTALLED to no, now that
...
all users of comapt/defs.mk have been adjusted. This is the last
commit related to fixing PR 47188.
2012-12-02 13:05:14 +00:00
apb
ee9a2498cf
Adjust everything under src (but outside src/tools) to use
...
the TOOLDIR version of libnbcompat, associated include files,
and associated defs.mk file, instead of the version from the
.OBJDIR of src/tools/compat. This should fix PR 47188.
2012-12-02 12:55:27 +00:00
apb
e0d2aa9d82
Make most things under src/tools use the TOOLDIR version of compat/defs.mk,
...
instead of the version in the .OBJDIR of tools/compat.
2012-12-02 12:48:32 +00:00
apb
a2542bc740
Now that tools/Makefile builds tools/binstall before installing
...
tools/host-mkdep, we can use the newly-built install program
to install host-mkdep.
2012-12-02 12:44:06 +00:00
apb
f996a13f4f
In tools/binstall/Makefile, explicitly use the uninstalled copy
...
of libnbcompat, not the version that's installed under TOOLDIR.
2012-12-02 12:39:55 +00:00
apb
d4a6601b30
Add two variables to tools/compat/defs.mk.in:
...
COMPATLIB_UNINSTALLED:
If "yes", then use the files from the .OBJDIR of
NETBSDSRCDIR/tools/compat. Otherwise, use the files
from TOOLDIR.
COMPATLIB_NO_LIB:
If "yes" then do not use the library (but still use
the include files).
COMPATLIB_UNINSTALLED defaults to "yes" for now, but this will soon be
changed to "no.
2012-12-02 12:37:08 +00:00
apb
fe5488e7a4
Make tools/compat/Makefile install the library in
...
${TOOLDIR}/lib/libnbcompat.a, install the include files in
${TOOLDIR}/include/compat/**, and install defs.mk in
${TOOLDIR}/share/compat/defs.mk. Previously, nothing from
tools/compat was installed under TOOLDIR.
Adjust tools/compat/Makefile to use an uninstalled copy of
host-mkdep from the .OBJDIR of tools/host-mkdep, and an uninstalled
copy of the install program from the .OBJDIR of tools/binstall.
This allows it to be built after tools/host-mkdep is built but
before tools/host-mkdep is installed; and to be installed after
tools/binstall is built but before tools/binstall is installed.
2012-12-02 12:34:51 +00:00
apb
e95f6bc055
Make tools/Makefile build host-mkdep, compat, and binstall in that order,
...
before installing any of them. It installs them in any order relative
to each other. The .WAIT points that used to be between these three
tools are replaced by .ORDER and dependencies.
This is needed in preparation for making tools/compat install
some files into TOOLDIR.
2012-12-02 12:25:25 +00:00
apb
0b3c0236de
Use a CONFIGURE_ENV variable instead of in-line code for passing
...
environment variables to the confifure script for host-mkdep.
Also reword the comment about why TOOL_AWK can't be included.
2012-12-02 12:21:51 +00:00
apb
3a6b21ba52
Teach tools/compat/Makefile to use an uninstalled copy of host-mkdep
...
from the.OBJDIR of tools/host-mkdep. This is in preparation for
building all three of tools/host-mkdep, tools/compat, and tools/binstall,
before installing any of them.
While here, also move the regen target to the end.
2012-12-02 12:19:34 +00:00
apb
3b5482ec3a
Teach tools/binstall/Makefile to use an uninstalled copy of
...
host-mkdep from the.OBJDIR of tools/host-mkdep. This is
in preparation for building all three of tools/host-mkdep,
tools/compat, and tools/binstall, before installing any of them.
2012-12-02 12:18:16 +00:00
apb
9ff9611745
TOOLDIR must be valid, unless MKTOOLS=no.
...
Add tests and .error directives to enforce this.
2012-12-02 12:10:43 +00:00
apb
326b13ee70
If tools are not wanted, then set SUBDIR= empty instead of
...
defining all the subdir-related targets to do nothing. This way,
the targets are not invoked at all, instead of being invoked but
doing nothing.
2012-12-02 11:46:34 +00:00
apb
34072b3232
remove trailing white space
2012-12-02 11:19:45 +00:00
pgoyette
0855789845
Test-case n3_6 is not applicable to NetBSD (according to Darren R.)
2012-12-02 08:52:06 +00:00
reed
ed8d05eebe
install the mkubootimage(1) manual
2012-12-02 02:21:28 +00:00
chs
11c69f2d20
adapt the cyclic module and profile dtrace provider to netbsd.
...
for now, just hook the cyclic callback into hardclock().
2012-12-02 01:05:16 +00:00
chs
30f1068241
remove unneeded include dirs.
2012-12-02 00:47:37 +00:00
chs
a32db86a29
update cyclic module to the freebsd 8-stable version as of svn r219520.
2012-12-02 00:05:38 +00:00
pgoyette
08896ebe5a
More test clean-up
2012-12-01 21:37:41 +00:00
pgoyette
8c5ae97cbd
Put the reason for expected failure in the correct position
2012-12-01 21:25:51 +00:00
wiz
349bee0bc8
Whitespace, comma nit, uppercase Dt argument.
2012-12-01 21:21:44 +00:00
wiz
a8352d9716
Bump date. New sentence, new line. Wording/articles.
...
Sort errors while here.
2012-12-01 21:07:00 +00:00
wiz
df30358ee8
Bump date. New sentence, new line. Wording/articles.
...
Sort errors while here.
2012-12-01 21:00:18 +00:00
wiz
00c15860d1
Bump date, really.
2012-12-01 20:57:41 +00:00
wiz
1ef05d0df5
Bump date. New sentence, new line. Wording/articles.
...
Sort errors while here.
2012-12-01 20:53:10 +00:00
wiz
d4e1a73a59
Bump date. New sentence, new line. Wording/articles.
2012-12-01 20:51:29 +00:00
wiz
017d301f38
Bump date. New sentence, new line. Wording/articles.
...
While here, sort errors.
2012-12-01 20:50:19 +00:00
wiz
947bcf9e3f
Bump date. New sentence, new line. Wording/articles.
2012-12-01 20:48:26 +00:00
wiz
dafc6bcd71
New sentence, new line. Add articles.
2012-12-01 20:46:54 +00:00
wiz
3e961cd531
Remove trailing whitespace.
2012-12-01 20:45:01 +00:00
christos
8a4bdc641e
fix bug
2012-12-01 20:38:41 +00:00
christos
c611eede50
add bitmap macros
2012-12-01 20:37:02 +00:00
christos
9df40f335d
add documentation for the bitmap macros
2012-12-01 20:33:02 +00:00
christos
1e43d1f8e0
add a bitops test
2012-12-01 16:30:00 +00:00
christos
b8815f50dc
Add a bitops test
2012-12-01 16:27:27 +00:00
christos
f9868bf95f
switch from fd_set to bitmap macros, by popular demand.
2012-12-01 15:30:16 +00:00
christos
586fa6386c
switch from fd_set to using bitmap macros
2012-12-01 15:11:43 +00:00
christos
cd5e10b5a9
Add some bitmap operation macros similar to fd_set. Unfortunately we cannot
...
re-use bitstring, because it is userland only.
2012-12-01 15:03:47 +00:00
skrll
6da0cd6163
Check for _NETBSD_SOURCE being defined wherever we check for
...
_INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API set
recently added.
2012-12-01 13:28:18 +00:00
mbalmer
e3f283b63f
Fix misspelling: accommodate is a long enough word to have room for two 'c's
...
and two 'm's.
2012-12-01 11:41:49 +00:00
mbalmer
2913016879
Fix misspelling of acceptible (it's only acceptable with an 'a', not an 'i').
2012-12-01 11:37:26 +00:00
mbalmer
0b522e92f1
Fix a typo in debug output.
2012-12-01 11:31:01 +00:00
skrll
0b6536ef8c
Check for _NETBSD_SOURCE being defined wherever we check for
...
_INCOMPLETE_XOPEN_C063 so that we expose the new POSIX extended API set
recently added.
2012-12-01 08:20:55 +00:00
wiz
1221f3d89d
More markup.
2012-12-01 08:16:25 +00:00