aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2024-09-02 17:47:49 +0200
committerThomas Huth <thuth@redhat.com>2024-09-11 09:49:11 +0200
commit1231bc7d12c373e445171dda9e7e5146eee7da55 (patch)
tree25e41d3c8f7e44e51d9ff5271ec1e9b548517553
parentc58156cd9f0a4ea2c99f64fa393e5fd67e1fc623 (diff)
downloadqemu-1231bc7d12c373e445171dda9e7e5146eee7da55.zip
qemu-1231bc7d12c373e445171dda9e7e5146eee7da55.tar.gz
qemu-1231bc7d12c373e445171dda9e7e5146eee7da55.tar.bz2
contrib/plugins/Makefile: Add a 'distclean' target
Running "make distclean" in the build tree currently fails since this tries to run the "distclean" target in the contrib/plugins/ folder, too, but the Makefile there is missing this target. Thus add 'distclean' there to fix this issue. And to avoid regressions with "make distclean", add this command to one of the build jobs, too. Message-ID: <20240902154749.73876-1-thuth@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--.gitlab-ci.d/buildtest.yml2
-rw-r--r--contrib/plugins/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index aeff2d2..c3b9dcd 100644
--- a/.gitlab-ci.d/buildtest.yml
+++ b/.gitlab-ci.d/buildtest.yml
@@ -353,6 +353,8 @@ build-tcg-disabled:
124 132 139 142 144 145 151 152 155 157 165 194 196 200 202
208 209 216 218 227 234 246 247 248 250 254 255 257 258
260 261 262 263 264 270 272 273 277 279 image-fleecing
+ - cd ../..
+ - make distclean
build-user:
extends: .native_build_job_template
diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile
index edf256c..05a2a45 100644
--- a/contrib/plugins/Makefile
+++ b/contrib/plugins/Makefile
@@ -77,7 +77,7 @@ lib%$(SO_SUFFIX): %.o
endif
-clean:
+clean distclean:
rm -f *.o *$(SO_SUFFIX) *.d
rm -Rf .libs