From owner-freebsd-hackers Sun Sep 17 04:12:15 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id EAA10695 for hackers-outgoing; Sun, 17 Sep 1995 04:12:15 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id EAA10689 for ; Sun, 17 Sep 1995 04:12:04 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id VAA10985; Sun, 17 Sep 1995 21:01:57 +1000 Date: Sun, 17 Sep 1995 21:01:57 +1000 From: Bruce Evans Message-Id: <199509171101.VAA10985@godzilla.zeta.org.au> To: hackers@freebsd.org, tony@rtd.com Subject: Re: kernel without INET ? Sender: owner-hackers@freebsd.org Precedence: bulk >I'm trying to build a stripped down 2.0.5 kernel for fd0. >Towards that goal, I tried to remove all network support (devices and >protocols). >Removing protocol support leaves a reference but no defintion for netisr_set >causing the loader to barf. >Looking through the code it appears I need to include one of the protocols >(INET, ISO etc) to define NETISR_SET. >Is there a way to remove all networking support from the kernel ? Ifdef the reference to netisr_set and any other new stuff that isn't properly ifdefed. Bruce