Commit Graph

237841 Commits

Author SHA1 Message Date
uebayasi
9d10d0209d Pretty-print `Makefile' output. 2015-09-03 13:32:07 +00:00
tsutsui
b19b008f06 Fix spelling in comments. 2015-09-03 13:07:46 +00:00
uebayasi
0bf07cd589 Define ${MD_OBJS} as relative path. This change makes amd64 kernel buildable
for `-S' mode.
2015-09-03 12:33:11 +00:00
uebayasi
361a961386 Prepare for relative ${MD_OBJS}. 2015-09-03 12:31:16 +00:00
ozaki-r
933f94aa13 Add tests for ifconfig options
From s-yamaguchi@IIJ (with some tweaks by me)
2015-09-03 10:22:52 +00:00
uebayasi
eaa72931c4 Move `all' target definition to Makefile.kern.inc. 2015-09-03 09:28:00 +00:00
dholland
89fa7c41df Remove dead assignment; from Henning Petersen in PR 50196. 2015-09-03 08:16:36 +00:00
christos
03f191dba1 new bind 2015-09-03 07:34:34 +00:00
christos
949b98fd7b Changes for 9.10.2-P4:
4170.  [security]      An incorrect boundary check in the OPENPGPKEY
                       rdatatype could trigger an assertion failure.
                       (CVE-2015-5986) [RT #40286]

4168.  [security]      A buffer accounting error could trigger an
                       assertion failure when parsing certain malformed
                       DNSSEC keys. (CVE-2015-5722) [RT #40212]
2015-09-03 07:33:34 +00:00
christos
cf002b08b1 Import bind 9.10.2-P4 2015-09-03 07:21:32 +00:00
uebayasi
caf44640e0 Kernel depends on swap<kernel>.o too. 2015-09-03 06:24:15 +00:00
uebayasi
fc3a975cb5 Sort dependendy to keep alphabetical build order. 2015-09-03 06:10:53 +00:00
uebayasi
d891b756ba Define kernel dependency in Makefile.kern.inc. 2015-09-03 06:09:46 +00:00
uebayasi
dfa246e2cf Fix build. 2015-09-03 06:08:38 +00:00
mrg
aa0a9ba7c2 remove these items:
o Disallow unknown options.
 o Kill makeoptions.

because they're overly strict and i use these both regularly
to do stuff that isn't in the base src, and i'm quite sure
i am not the only one.
2015-09-03 05:45:16 +00:00
uebayasi
d01cbd6db6 Rename ${COMPILE.c} to ${KCOMPILE.c} to avoid potential conflicts with those
in sys.mk.  Define .go/.po suffix rules.
2015-09-03 04:17:55 +00:00
jnemeth
14a099927b PR/49641 - Henning Petersen -- wordo 2015-09-03 04:05:38 +00:00
uebayasi
10a39df2f6 Refactor. 2015-09-03 03:47:25 +00:00
uebayasi
f1616b9172 Set buildprefix. 2015-09-03 02:46:04 +00:00
uebayasi
77d324a2b9 In `-S' mode, create symlinks from outside of $S to build directory, for
files that are placed outside of $S, so that `Makefile.kern.inc' can see all
files under either $S or build directory.
2015-09-03 02:45:24 +00:00
ozaki-r
5392bf8aeb Add refcnt constraint checks for debugging
It's useful to know where the constraint is violated (by extra rtfree).
It's enabled only if DEBUG because it's heavy (O(n)).
2015-09-03 02:04:31 +00:00
uebayasi
1d638ab7bf Simplify. Wrap long lines. 2015-09-03 01:40:06 +00:00
uebayasi
1587c3fa3a Stop ordering objects alphabetically now that I am sure I can fix fallouts. 2015-09-03 01:30:18 +00:00
uebayasi
185d99e39a Build conf/param.c normally. 2015-09-03 01:09:38 +00:00
ozaki-r
6af5fcf207 Fix rtfree in nd6_output
We have to check and avoid to rtfree the original rtentry passed to
nd6_output even when manipulating gateway routes.

This fixes panic on assertion "ro->_ro_rt ==NULL || ro->_ro_rt->rt_refcnt > 0"
failure and probably PR kern/50161.
2015-09-03 00:54:39 +00:00
uebayasi
4c17ec775b Fix link of kernels whose name don't start with "netbsd*". 2015-09-02 23:03:41 +00:00
jmcneill
5a463a38a1 note addition of Tegra K1 and Jetson TK1 support back in July 2015-09-02 18:53:30 +00:00
uebayasi
a453d60989 Fix build. 2015-09-02 16:29:44 +00:00
uebayasi
350968d06a Build param.c under conf/ using suffix rules in `-S' mode. 2015-09-02 15:35:52 +00:00
uebayasi
4af08e031f Clean up `swap<kernel>.o' handling. 2015-09-02 15:29:23 +00:00
uebayasi
7a8426662a Define ${OBJS} in `Makefile.kern.inc'. Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.
2015-09-02 14:17:03 +00:00
uebayasi
558aab1be0 Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).
2015-09-02 13:42:14 +00:00
uebayasi
7db0c115b3 Simplify generated `Makefile' by calculating ${OBJS} from merging ${CFILES},
${SFILES}, and ${OFILES} except swap<kernel>.o excluded.
2015-09-02 13:06:06 +00:00
uebayasi
054cd04942 Add swap<kernel>.o to common ${SYSTEM_LD} as it is always linked. 2015-09-02 12:38:48 +00:00
ozaki-r
54c4f3b688 Do rt_refcnt++ when set a rtentry to another rtentry's rt_gwroute
And also do rtfree when deref a rtentry from rt_gwroute.
2015-09-02 11:35:11 +00:00
tsutsui
817770d6b0 Make kernels build without options M68030. 2015-09-02 11:33:30 +00:00
christos
00158cce6d XXX: Disable KASSERT for now since locking is broken for interface removals. 2015-09-02 09:28:13 +00:00
ozaki-r
1231d10774 Use KASSERT to check programming errors 2015-09-02 08:03:10 +00:00
uebayasi
dccd2cf552 In `-S' mode, generate *.c files under conf/ subdirectory. Register generated
.c files to the `files' list internally.
2015-09-02 05:09:25 +00:00
uebayasi
d9bb176d5f Clean up some rules and make them less error prone. 2015-09-02 03:22:41 +00:00
uebayasi
1b2a74aeec Define suffix rules at the end to override system definitions. Provide them
only if ___USE_SUFFIX_RULES___ is defined (config -S).
2015-09-01 23:04:35 +00:00
uebayasi
e53d4b70ba Fix build. 2015-09-01 20:18:41 +00:00
christos
a7c125a050 mark a rump library as such 2015-09-01 19:58:57 +00:00
kamil
1c79b1c709 ANSIfy getopt(3) - this is the REPLACE_GETOPT version from getopt_long(3)
For the reference, this version still passes the current set of ATF tests
for the getopt(3) function.

This version is by default unused.
2015-09-01 19:39:57 +00:00
phx
edb5a34700 i2c_acquire_bus() should return 0 on success.
Fixed bug in gpioiic_bb_set_bits(), which was introduced with the SDA/SCL-
reverse feature.
Now the driver is confirmed to work. Tested with Raspberry Pi GPIO.
2015-09-01 19:25:32 +00:00
uebayasi
e16ec3ea57 Experimental suffix-rules build (disabled by default). 2015-09-01 16:04:04 +00:00
uebayasi
b06817457f Experimental ``suffix rules + subdirectories'' build support (-S). 2015-09-01 16:01:23 +00:00
uebayasi
64903d9c8f Prepare to build subdirectories. Not enabled yet. 2015-09-01 14:32:20 +00:00
skrll
574285fdc2 kern/50185: dwctwo attach failure
Another hunk went walkabout during the import - reapply with a little
update
2015-09-01 14:03:00 +00:00
tsutsui
7b11775ff5 Use the default boot device if a kernel name without device is specificed. 2015-09-01 13:55:25 +00:00