git: Fix buildkernel without -j.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Mar 19 01:18:20 PDT 2011


commit 82011fa5f8b50d29a1ddbc45a28774edf7dfbacf
Author: Sascha Wildner <saw at online.de>
Date:   Sat Mar 19 09:17:29 2011 +0100

    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).

Summary of changes:
 sys/conf/kern.post.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/82011fa5f8b50d29a1ddbc45a28774edf7dfbacf


-- 
DragonFly BSD source repository





More information about the Commits mailing list