From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:59612 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbaLaOZK (ORCPT ); Wed, 31 Dec 2014 09:25:10 -0500 Message-ID: <54A40743.8080401@suse.cz> Date: Wed, 31 Dec 2014 15:25:07 +0100 From: Michal Marek MIME-Version: 1.0 Subject: Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean' References: <1419619556.4705.136.camel@decadent.org.uk> <54A40077.1080806@suse.cz> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: sedat.dilek@gmail.com Cc: Ben Hutchings , maximilian attems , LKML , linux-kbuild@vger.kernel.org On 2014-12-31 15:16, Sedat Dilek wrote: > On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek wrote: >> The problem is that >> >> clean-dirs += $(objtree)/debian/ >> >> results in >> >> clean-dirs += ./debian/ >> >> and scripts/Makefile.clean treats it as relative to scripts/package. >> > > Thanks for your reply. > > IIRC I looked through some commits touching this area. > From your description, is the simplification ("kbuild: simplify build, > clean, modbuiltin shorthands") in [1] the cause for this? No, it broke with 7e1c0477 (kbuild: Use relative path for $(objtree)). I'll problably change the logic in Makefile.clean to check for paths starting with './' AKA '$(objtree)/', unless I find a more elegant solution. Michal