Merge branch 'prefix-clean-3' into 'master'

Define prefix_clean, rename existing one as static_clean

See merge request redox-os/redox!1815
This commit is contained in:
Jeremy Soller 2026-01-07 22:09:10 -07:00
commit 8da1a94f51

View File

@ -28,8 +28,12 @@ PREFIX_STRIP=\
-exec strip --strip-unneeded {} ';' \
2> /dev/null
# Update relibc used for compiling and clean all statically linked recipes
prefix_clean: | $(FSTOOLS_TAG)
# Remove prefix builds but retain downloaded binaries
prefix_clean:
rm -rf $(PREFIX)/sysroot $(PREFIX)/*-install
# Remove relibc in sysroot and all statically linked recipes
static_clean: | $(FSTOOLS_TAG)
$(MAKE) c.relibc
$(MAKE) c.base,base-initfs,extrautils,kernel,ion,pkgutils,redoxfs