From fe87dcadb788e820f538a67c0a49eb57e69bbc59 Mon Sep 17 00:00:00 2001 From: Alexey Marchuk Date: Mon, 31 Aug 2020 17:13:34 +0300 Subject: [PATCH] mk: Remove the content of build/lib in "clean" target Leaving old libraries leads to incorrectly generated libspdk.so - e.g. when we configure spdk using --with-uring and after that using --without-uring then libspdk_bdev_uring.so will remain in build/lib and will become part of spdk.so built using --without-uring Change-Id: If482e9cf323b58f3f588b7c3bdb629425ae0ceeb Signed-off-by: Alexey Marchuk Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3986 Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI Reviewed-by: Ben Walker Reviewed-by: Tomasz Zawadzki --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 24742e69c..e77725e87 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ # BSD LICENSE # # Copyright (c) Intel Corporation. +# Copyright (c) 2020, Mellanox Corporation. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -84,6 +85,7 @@ clean: $(DIRS-y) $(Q)rm -rf build/fio $(Q)rm -rf build/examples $(Q)rm -rf build/include + $(Q)find build/lib ! -name .gitignore -type f -delete install: all $(Q)echo "Installed to $(DESTDIR)$(CONFIG_PREFIX)"