Date: Wed, 6 Sep 2006 14:23:40 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/acpica Makefile Message-ID: <200609061423.k86ENere018772@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2006-09-06 14:23:40 UTC FreeBSD src repository Modified files: sys/i386/acpica Makefile Log: Refine previous revision to allow acpi_wakecode.h to be safely built from both the acpi module build directory and a kernel build directory. The latter didn't work when one attempted to build a kernel which had "device acpi" with the "make kernel-toolchain buildkernel" command because a cross-compiler couldn't find anything in the standard system include path (it's empty in the kernel-toolchain case). Fix this by passing a better root path to kernel headers (src/sys) which works for both cases, kernel and module (-I@ only worked for module). Also, while here, pass -nostdinc (and a different spelling for icc) -- it's a feature that the kernel source tree is self-contained, and this change enforces this. Reported by: glebius Revision Changes Path 1.7 +7 -1 src/sys/i386/acpica/Makefile
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609061423.k86ENere018772>