From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 7A796255 for ; Thu, 29 Jan 2015 11:52:43 +0100 (CET) Received: by mail-wi0-f181.google.com with SMTP id fb4so22755805wid.2 for ; Thu, 29 Jan 2015 02:52:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=fcJcgr0WeF83LMr76AUPgko8XecDDkm3PkqviFq4uSw=; b=PYOk6eJmK40rA/hMVK+pBUK3kynzfZWXQrEe98TigYm6d8l6IcQo/rVS5FFDSfNPLP O1StW6pKp9H3THxUUefRgmF98srOOVTV2TWnHSZN9OW6g1tToOcoXCUb4vbIb+dvjRaU 6vZ6lv011SnTalXteeYlP2e01MtDkFAwplHJyZWnnME+IXjHOhI+V+OBevH80cDSjiY+ gCyBSUsd1TsCOBjLwfTIR1RFuI7HSYOC3N6rYzUmGA73YszwchNR5HRwgeiNP4Q/ZH3W la4dAmK/UhvvjTsii6s9e3cj0DJttFxCmCHQ+sUWNOOIQwUWpCUbCHO1fMIvmvIAz6Ux lNlg== X-Gm-Message-State: ALoCoQlCDJGTsHXqbjm9STWSICz0eAGkT1a9fGwO1IsX+R/waQogMe0QXbWUwAhEpdKWQopkuAdB X-Received: by 10.180.20.50 with SMTP id k18mr3110194wie.31.1422528762957; Thu, 29 Jan 2015 02:52:42 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id fm10sm1954526wib.7.2015.01.29.02.52.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jan 2015 02:52:42 -0800 (PST) From: Thomas Monjalon To: stephen@networkplumber.org Date: Thu, 29 Jan 2015 11:52:01 +0100 Message-ID: <2643675.CbzNhuDmeJ@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.18.2-2-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <54C8C15B.7020407@6wind.com> References: <1421993948-24785-1-git-send-email-stephen@networkplumber.org> <54C8C15B.7020407@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, 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: Thu, 29 Jan 2015 10:52:44 -0000 Hi Stephen, 2015-01-28 12:00, Olivier MATZ: > 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 Does it fit with your needs? Should we revert your patch? Double-colon rules were avoided in DPDK. "Double-colon rules are somewhat obscure and not often very useful" -- Thomas