mk: allow application to override clean
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 Single colon and double colon rules for same target causes an error. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
9f516206d9
commit
ca0038c009
@ -325,7 +325,7 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP)
|
||||
# Clean all generated files
|
||||
#
|
||||
.PHONY: clean
|
||||
clean: _postclean
|
||||
clean:: _postclean
|
||||
$(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS)
|
||||
|
||||
.PHONY: doclean
|
||||
|
Loading…
Reference in New Issue
Block a user