Define prefix_clean, rename existing one as static_clean

This commit is contained in:
Wildan M 2026-01-07 15:34:44 +07:00
parent b7d781579a
commit fd0276aa88
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

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
# Remove prefix builds but retain downloaded binaries
prefix_clean: | $(FSTOOLS_TAG)
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