Fix buildkernel without -j.
authorSascha Wildner <saw@online.de>
Sat, 19 Mar 2011 08:17:29 +0000 (09:17 +0100)
committerSascha Wildner <saw@online.de>
Sat, 19 Mar 2011 08:17:29 +0000 (09:17 +0100)
commit82011fa5f8b50d29a1ddbc45a28774edf7dfbacf
tree851b85518ec2bb4fc66503e4ecbc542bb7baa8bc
parenta40ec0038b5c39aa2950b64996e0f05138fc0a2e
Fix buildkernel without -j.

One of the recent commits by sephe caused genassym.c to depend on
bus_if.h and device_if.h (via machintr.h via bus.h).

However, without -j, these headers would not be generated (from
the .m files) before genassym.c was compiled, causing the kernel
build to break.

As a fix, make genassym.c depend on these headers in the Makefile.

The interesting bit is that this is one of the cases where it
breaks without -j but _does_ work with -j 1 (read: one) due to
the different handling of no -j vs. -j 1 in make(1).
sys/conf/kern.post.mk