[dpdk-dev] [PATCH] mk:fix second compile error
xu,huilong
huilongx.xu at intel.com
Tue Aug 9 08:01:58 CEST 2016
when compile different targets on a same environment.
The second compile will failed, because test_resource obj file
can't auto clearn by makfile.
Signed-off-by: xu,huilong <huilongx.xu at intel.com>
---
mk/rte.app.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index eb28e11..d23e8b9 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -263,7 +263,8 @@ $(RTE_OUTPUT)/app/$(APP).map: $(APP)
#
.PHONY: clean
clean: _postclean
- $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS)
+ $(Q)rm -f $(_BUILD_TARGETS) $(_INSTALL_TARGETS) $(_CLEAN_TARGETS) \
+ test_resource.res test_resource_c.o test_resource_c.res.o
.PHONY: doclean
doclean:
--
1.9.3
More information about the dev
mailing list