Re: git: Fix buildkernel without -j.
On Sat, Mar 19, 2011 at 4:17 PM, Sascha Wildner
<swildner@crater.dragonflybsd.org> wrote:
>
> commit 82011fa5f8b50d29a1ddbc45a28774edf7dfbacf
> Author: Sascha Wildner <saw@online.de>
> Date: ꀠSat Mar 19 09:17:29 2011 +0100
>
> ꀠ啫ix buildkernel without -j.
>
> ꀠ嘢ne of the recent commits by sephe caused genassym.c to depend on
> ꀠ毪us_if.h and device_if.h (via machintr.h via bus.h).
>
> ꀠ㗎owever, without -j, these headers would not be generated (from
> ꀠ濳he .m files) before genassym.c was compiled, causing the kernel
> ꀠ毪uild to break.
>
> ꀠ孭s a fix, make genassym.c depend on these headers in the Makefile.
>
> ꀠ糍he interesting bit is that this is one of the cases where it
> ꀠ毪reaks without -j but _does_ work with -j 1 (read: one) due to
> ꀠ濳he different handling of no -j vs. -j 1 in make(1).
Grrr, thanks
Cheers,
sephe
--
Tomorrow Will Never Die
討論串 (同標題文章)