From owner-cvs-src@FreeBSD.ORG Wed Sep 6 14:23:41 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B87C16A4DA; Wed, 6 Sep 2006 14:23:41 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E27A543D45; Wed, 6 Sep 2006 14:23:40 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k86ENedP018777; Wed, 6 Sep 2006 14:23:40 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k86ENere018772; Wed, 6 Sep 2006 14:23:40 GMT (envelope-from ru) Message-Id: <200609061423.k86ENere018772@repoman.freebsd.org> From: Ruslan Ermilov Date: Wed, 6 Sep 2006 14:23:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/acpica Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 14:23:41 -0000 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