Commit fe87dcad authored by Alexey Marchuk's avatar Alexey Marchuk Committed by Tomasz Zawadzki
Browse files

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: default avatarAlexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3986


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 10314724
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)"