From bb488d2829a9b7863daab45917dd2174905cc0ae Mon Sep 17 00:00:00 2001 From: yidong0635 Date: Mon, 25 Mar 2019 09:57:29 -0400 Subject: [PATCH] isalbuild: fixed make clean issue. Symbol-link about isa-l, usually rm -f is enough, but some case it changed. And report errors: Clean up report error: rm: cannot remove 'spdk/isa-l/isa-l': Is a directory. or rm: cannot remove '/home/vagrant/master/build-20190415032826/spdk/isa-l/isa-l': Is a directory make[1]: *** [Makefile:53: clean] Error 1 make: *** [/home/vagrant/master/build-20190415032826/spdk/mk/spdk.subdirs.mk:44: isalbuild] Error 2 Change-Id: I7f64e2e9708392c8821e2699fdae26223f472689 Signed-off-by: yidong0635 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448967 Reviewed-by: Darek Stojaczyk Reviewed-by: Changpeng Liu Tested-by: SPDK CI Jenkins --- isalbuild/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isalbuild/Makefile b/isalbuild/Makefile index e5a757151..a82ec72cf 100644 --- a/isalbuild/Makefile +++ b/isalbuild/Makefile @@ -50,4 +50,4 @@ install: all clean: $(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/isa-l clean $(REDIRECT) - $(Q)rm -f $(ISAL_DIR)/isa-l + $(Q)rm -rf $(ISAL_DIR)/isa-l