From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id EC8821F5 for ; Wed, 28 Jan 2015 12:00:45 +0100 (CET) Received: by mail-wi0-f172.google.com with SMTP id h11so10968494wiw.5 for ; Wed, 28 Jan 2015 03:00:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WFXaqfWxsanjWuVzbcEwUYQxOwFfogMWsrM+cBLKpJA=; b=lt0hHfpE4+b+yQqncOna7ceoRse+sQP5SnfzdD1TK5cqE7ptF4X/VTQ+Fwar6gPwV1 PQhsWNBXEEWx3d0SlB8mpxzSTjq4ggx1u8EFMybhgZ/AYqDtJONL8xWlRpoc586f9kr3 asXrYhOotvpY8zZ3HSX5AQvmBJdGNaYXrGYg/L0DzpQqPsaBFFdOD9Wgl9fJ2BM6bKQ2 kJ2aLC/eHlUN+Z59kMopJpuHPGXJhXU+DW7yCMkbJ0h5DDTzfcrA9NzZ/SOkTMfHQF17 TagOePx+7PRvV0KAbAVKsMJvWUAQTSlGVfo4N0ygdfYwulNQqLartWMuXPKYCE7J0Aue hO8w== X-Gm-Message-State: ALoCoQn9kqzeM+loiPkBH1Jymorp2AbNpa1Db4CCngfQr5SNcnXUFqF/bTkKVfhfPW8fZCURAUPD X-Received: by 10.194.6.70 with SMTP id y6mr5838458wjy.97.1422442845808; Wed, 28 Jan 2015 03:00:45 -0800 (PST) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id li7sm1409080wic.4.2015.01.28.03.00.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2015 03:00:45 -0800 (PST) Message-ID: <54C8C15B.7020407@6wind.com> Date: Wed, 28 Jan 2015 12:00:43 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: stephen@networkplumber.org, dev@dpdk.org References: <1421993948-24785-1-git-send-email-stephen@networkplumber.org> In-Reply-To: <1421993948-24785-1-git-send-email-stephen@networkplumber.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH] mk: allow application to override clean X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2015 11:00:46 -0000 Hi Stephen, On 01/23/2015 07:19 AM, stephen@networkplumber.org wrote: > From: Stephen Hemminger > > In some cases application may want to have additional rules > for clean. This can be handled by allowing the double colon > form of rule. > > https://www.gnu.org/software/make/manual/html_node/Double_002dColon.html There is already a way to do that in dpdk makefiles: you can add the following code in your application Makefile, before the line that includes $(RTE_SDK)/mk/rte.app.mk: POSTCLEAN += my_clean .PHONY: my_clean my_clean: @echo executed after clean Regards, Olivier