mkosi: Allow clearing meson cache with WIPE=1
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 1 Jun 2024 12:45:22 +0000 (14:45 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Jun 2024 11:47:33 +0000 (13:47 +0200)
commit05895728e650906a335285878af05af52a0fde15
treec0fc6d95a8acb4d55fe7dc5a05f1ecf4367d2b48
parent51ce4c78646c252028ac700cbfd0d12b5c6db9a3
mkosi: Allow clearing meson cache with WIPE=1

meson does not support changing compilation flags on the fly, when
doing so, the entire build directory has to be cleared explicitly, so
let's add a way to do that by setting WIPE=1.

Let's also allow developers to specify their own meson options via
$MESON_OPTIONS.
mkosi.images/system/mkosi.conf.d/10-arch/mkosi.build.chroot
mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot
mkosi.images/system/mkosi.conf.d/10-debian-ubuntu/mkosi.build.chroot
mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot