From owner-freebsd-hackers Sat Jul 14 13:48:54 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id 1918537B403 for ; Sat, 14 Jul 2001 13:48:41 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.4/8.11.3) with ESMTP id f6EL3Ca01348; Sat, 14 Jul 2001 14:03:13 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200107142103.f6EL3Ca01348@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: "srinivasarao" Cc: freebsd-hackers@freebsd.org Subject: Re: Fw: help me!!!! In-reply-to: Your message of "Sat, 14 Jul 2001 17:37:54 +0530." <000e01c10c5d$9d219480$0b09010a@ssrao.in.ceeyes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Jul 2001 14:03:12 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >hi, > >In FreeBSD i want to compile the module "dev" which should reflect the > >kernel also, without compiling the kenel completely. You can't do this. > > and also i want to > >include one more directory in "/usr/src/sys/dev" . so to compile that > >directory files shall i have to made changes in Makefile of > >usr/src/sys/compile/GENERIC? Edit sys/conf/files and add the actual *files* to be compiled, not the directory. > >what are all the steps to be taken care while > >making changes in Makefile? You should never edit the kernel Makefiles. > >and how to compile the individual module, which > >should reflect changes in kenel also? ...... Modules are built as part of the kernel build. You can also build modules idependantly in sys/modules. Note that module code should not depend on options from the kernel configuration file (or if they do, these options need to be set up seperately in the module's Makefile). Regards, Mike -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message