From owner-freebsd-questions Wed Dec 13 4: 2:35 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 04:02:32 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from roura.ac.upc.es (roura.ac.upc.es [147.83.33.10]) by hub.freebsd.org (Postfix) with ESMTP id 2ED0737B404 for ; Wed, 13 Dec 2000 04:02:31 -0800 (PST) Received: from ac.upc.es (fonoll.ac.upc.es [147.83.32.14]) by roura.ac.upc.es (8.11.0/8.11.0) with ESMTP id eBDC4sO07930; Wed, 13 Dec 2000 13:04:55 +0100 (MET) Sender: oscar@ac.upc.es Message-ID: <3A3765E6.36C6AD24@ac.upc.es> Date: Wed, 13 Dec 2000 13:04:54 +0100 From: Oscar I Lepe Organization: DAC/UPC X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: es, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to inlcude a new option for building a kernel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I'm have some ad-hoc code inserted in some kernel files that is guarded with pairs of #ifdef ... #endif, as it is used. With FreeBSD3_2, I used to add some option instructions in the i386/conf/MYKERNEL file that defined proper symbols so the compiler would add my ad-hoc code. With FreeBSD3_2, the config program complaint about "unknown options" but still produced the compile/MYKERNEL files for building the kernel. So all used to work then. Now, with FreeBSD4_1_1, the config program stops working when it finds a unknown option and does not finishes producing the compile/MYKERNEL files. So the question might be, how to force the new config program to finish its work despite of the unknown options as before? The question might be another. How can I modify the config program so it get to know the options I'm introducing? Another one. How to acomplish the same thing without having to add new options? Thanks, -- ======================================================================== 0 0 0 Oscar-Ivan Lepe-Aldama | UPC-Campus Nord, DAC 0 0 0 e-mail: oscar@ac.upc.es | Modul D6, despatx 116 0 0 0 phone: +34 93 401 7187 | Jordi Girona, 1-3 U P C fax: +34 93 401 7055 | 08034 Barcelona - SPAIN WWW: http://www.ac.upc.es/homes/oscar/ ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message