From owner-freebsd-current Sat Jun 29 01:34:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA17530 for current-outgoing; Sat, 29 Jun 1996 01:34:06 -0700 (PDT) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA17524 for ; Sat, 29 Jun 1996 01:34:01 -0700 (PDT) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.7.5/8.7.3) id JAA15238; Sat, 29 Jun 1996 09:42:54 +0200 (SAT) From: John Hay Message-Id: <199606290742.JAA15238@zibbi.mikom.csir.co.za> Subject: Re: make clean in src/lkm problems To: mark%grumble.grondar.za.@grondar.za (Mark Murray) Date: Sat, 29 Jun 1996 09:42:54 +0200 (SAT) Cc: freebsd-current@freebsd.org In-Reply-To: <199606290725.JAA14740@grumble.grondar.za> from Mark Murray at "Jun 29, 96 09:25:04 am" X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > John Hay wrote: > > Well somehow I got the .o and vnode_if.c and vnode_if.h files in my > > src/lkm/*/ directories and not in the obj dir. I have tried all > > the normal ways (make clean, make cleandir) to get rid of them so that > > they can be created in /usr/obj, but to no avail. I even deleted /usr/obj > > thinking that if make don't find it, it will work in the src directory. > > At the end I found a target "cleanfiles" which works if you are in a > > specific directory eg. /usr/src/lkm/msdos, but you can't call it from > > src, ot src/lkm. > > ?? Dunno? > > > Is this a problem with just my system? I have recompiled make and > > installed all the new mk/* files. > > I think it may be with your system. I do not see it here, and I made > world yesterday... So, can you go in any of the lkm subdirs (say lkm/msdos) and do a "make clean" and it deletes the .o files? I tried it here and even if I do a "make obj; make; make clean" it does not delete the files in the obj..... directory. It seems like the problem is only in the lkm subdirs and not in the others. John -- John Hay -- John.Hay@mikom.csir.co.za