From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 4 19:38:38 2004 Return-Path: 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 74A5D16A4CE for ; Wed, 4 Aug 2004 19:38:38 +0000 (GMT) Received: from gatorzone.com (gatormail.gatorzone.com [216.53.131.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7B7043D6E for ; Wed, 4 Aug 2004 19:38:37 +0000 (GMT) (envelope-from cd_freebsd@gatorzone.com) Date: Wed, 4 Aug 2004 16:09:22 -0400 Message-Id: <200408041609.AA23724184@gatorzone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "cd_freebsd" To: X-Mailer: Subject: Compiling Kernel Module with Current Kernel Options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cd_freebsd@gatorzone.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 19:38:38 -0000 I have an SMP machine, so after installing the GENERIC version of FreeBSD 4.7, I created my own version of the kernel that included SMP support and DDB. Being a device driver writer, I created my Makefile just as perscribed, but when I compiled my code, the SMP define was not set. It appears that the build process did not include the options found in opt_global.h. How do you build a driver that includes the proper options? Is there something special I have to do to make these options available to my driver?