From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 4 May 2002 08:00:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 4 May 2002 08:00:29 -0400 Received: from mail.ocs.com.au ([203.34.97.2]:17169 "HELO mail.ocs.com.au") by vger.kernel.org with SMTP id ; Sat, 4 May 2002 08:00:29 -0400 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 From: Keith Owens To: lkml Subject: Re: kbuild 2.5 release 2.4 In-Reply-To: Your message of "Sat, 04 May 2002 13:39:54 +0200." <20020504113954.GB20042@louise.pinerecords.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 May 2002 22:00:19 +1000 Message-ID: <23922.1020513619@ocs3.intra.ocs.com.au> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 4 May 2002 13:39:54 +0200, tomas szepe wrote: >> >Duh... I failed to demonstrate the real problem: kbuild-2.5's mrproper >> >also erases *non-zero-size* files in the object tree: >> With a separate object tree, everything in the object directory is >> generated by kbuild. make mrproper deletes everything. > >Suppose I have scripts to automate kernel building in that dir? Scripts go in the source tree, not the object tree. Or better still, completely outside the kernel source and object tree structure. >Or even worse, suppose $KBUILD_OBJTREE gets reset to some weird >value by accident and my whole home dir goes bye bye upon make >mrproper? Suppose cp gets aliased to rm -rf / by accident and my entire system goes bye bye upon cp?