[dpdk-dev] [PATCH] mk: allow application to override clean
Olivier MATZ
olivier.matz at 6wind.com
Wed Jan 28 12:00:43 CET 2015
Hi Stephen,
On 01/23/2015 07:19 AM, stephen at networkplumber.org wrote:
> From: Stephen Hemminger <shemming at brocade.com>
>
> 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
More information about the dev
mailing list