summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-09-13 20:54:05 +0200
committerChristian Breunig <christian@breunig.cc>2025-09-13 20:59:00 +0200
commitdb38642122a7f5b1754c2618d05515cea8a1db45 (patch)
treefae7836670a3d36cf4533e955ccd9ab817193bb0
parent6a47b699577904eb3e5866c27ab2813058cc9ed9 (diff)
downloadvyos-1x-db38642122a7f5b1754c2618d05515cea8a1db45.tar.gz
vyos-1x-db38642122a7f5b1754c2618d05515cea8a1db45.zip
Revert "Makefile: T7793: "make clean" should also clean libvyosconfig"
This change introduced an unintended side effect: subsequent package builds fail. Debian’s build system performs an implicit dh_clean, which removes the libvyosconfig/_build directory. However, the current Makefile logic only builds libvyosconfig once (see Makefile:L18) and does not trigger a rebuild if the library is already marked as installed. As a result, after the first successful build, later builds fail with: cp libvyosconfig/_build/libvyosconfig.so debian/tmp/libvyosconfig/usr/lib/libvyosconfig.so.0 cp: cannot stat 'libvyosconfig/_build/libvyosconfig.so': No such file or directory
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0b0c9797..369eb89a8 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,6 @@ clean:
rm -rf $(BUILD_DIR)
rm -rf $(TMPL_DIR)
rm -rf $(OP_TMPL_DIR)
- $(MAKE) -C libvyosconfig clean
$(MAKE) -C $(SHIM_DIR) clean
.PHONY: test