From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 12 15:34:15 2005 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50BCD16A41C; Sun, 12 Jun 2005 15:34:15 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id D02A743D48; Sun, 12 Jun 2005 15:34:14 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from beastie.frontfree.net (unknown [219.239.99.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 1A123EB0B84; Sun, 12 Jun 2005 23:34:13 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 4E82E135186; Sun, 12 Jun 2005 23:34:11 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23102-19; Sun, 12 Jun 2005 23:34:05 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id D8588135169; Sun, 12 Jun 2005 23:34:04 +0800 (CST) Date: Sun, 12 Jun 2005 23:34:04 +0800 From: Xin LI To: ru@FreeBSD.org, freebsd-hackers@FreeBSD.org Message-ID: <20050612153404.GA30999@frontfree.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Fri May 27 00:47:15 CST 2005 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: amavisd-new at frontfree.net Cc: Subject: How to make use of the current source tree's include file? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 15:34:15 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Ruslan, I am recently working on a patchset that would provide mini-crashdump which needs to include a newly added include file into /sys/sys/ from the kgdb(1) source code. I have used the following line to make this possible, in the latter's Makefile: CFLAGS+=3D -I${.CURDIR}/../../../../sys/ However I'm under the impression that there is some better ways to archive this, will you please give me some hints? Thanks in advance! Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCrFXs/cVsHxFZiIoRAiCwAJ94uTQQQeCfXOeK4tLwW3s7p4t1gwCdG3tI rxDmiOU6Zit5FtF0pQACrcc= =tXxK -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--