Re: cvs commit: src/sys/i386/acpica Makefile

From: Gleb Smirnoff <>
Date: Wed, 6 Sep 2006 18:32:43 +0400
On Wed, Sep 06, 2006 at 02:23:40PM +0000, Ruslan Ermilov wrote:
R> ru          2006-09-06 14:23:40 UTC
R>   FreeBSD src repository
R>   Modified files:
R>     sys/i386/acpica      Makefile 
R>   Log:
R>   Refine previous revision to allow acpi_wakecode.h to be safely built
R>   from both the acpi module build directory and a kernel build directory.
R>   The latter didn't work when one attempted to build a kernel which had
R>   "device acpi" with the "make kernel-toolchain buildkernel" command
R>   because a cross-compiler couldn't find anything in the standard system
R>   include path (it's empty in the kernel-toolchain case).
R>   Fix this by passing a better root path to kernel headers (src/sys)
R>   which works for both cases, kernel and module (-I_at_ only worked for
R>   module).
R>   Also, while here, pass -nostdinc (and a different spelling for icc) --
R>   it's a feature that the kernel source tree is self-contained, and this
R>   change enforces this.
R>   Reported by:    glebius


Totus tuus, Glebius.
Received on Wed Sep 06 2006 - 14:32:53 UTC