cvs commit: src/sys/i386/acpica Makefile

Gleb Smirnoff glebius at FreeBSD.org
Wed Sep 6 07:32:53 PDT 2006


On Wed, Sep 06, 2006 at 02:23:40PM +0000, Ruslan Ermilov wrote:
R> ru          2006-09-06 14:23:40 UTC
R> 
R>   FreeBSD src repository
R> 
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>   
R>   Fix this by passing a better root path to kernel headers (src/sys)
R>   which works for both cases, kernel and module (-I@ only worked for
R>   module).
R>   
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>   
R>   Reported by:    glebius

Thanks!

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-all mailing list