]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: makefile/da: also clean Os/ in Device Atlas dummy lib dir
authorWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 08:27:36 +0000 (09:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 8 Dec 2022 08:27:36 +0000 (09:27 +0100)
Commit b81483cf2 ("MEDIUM: da: update doc and build for new scheduler
mode service.") added a new directory to the Device Atlas dummy lib,
but this one is not cleaned during "make clean", causing build failures
sometimes when switching between compiler versions during development.

This should be backported to 2.6.

Makefile

index 2501cf3b7c5e165312d3db81361fbf2ab5dfc094..47004bae5894b72207064108ca14140db9f5a836 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1078,6 +1078,7 @@ clean:
        $(Q)rm -f addons/promex/*.[oas]
        $(Q)rm -f addons/51degrees/*.[oas] addons/51degrees/dummy/*.[oas] addons/51degrees/dummy/*/*.[oas]
        $(Q)rm -f addons/deviceatlas/*.[oas] addons/deviceatlas/dummy/*.[oas] addons/deviceatlas/dummy/*.o
+       $(Q)rm -f addons/deviceatlas/dummy/Os/*.o
        $(Q)rm -f addons/ot/src/*.[oas]
        $(Q)rm -f addons/wurfl/*.[oas] addons/wurfl/dummy/*.[oas]
        $(Q)rm -f admin/*/*.[oas] admin/*/*/*.[oas]