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 <alexeymar@mellanox.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3986 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
103147241b
commit
fe87dcadb7
2
Makefile
2
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)"
|
||||
|
Loading…
Reference in New Issue
Block a user