Add a way to update prefix and statically linked recipes

This commit is contained in:
Wildan M 2025-12-21 13:54:02 +07:00
parent 975f630108
commit a81cff209f
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -29,6 +29,11 @@ endif
# so would break non-podman builds (not sure if they are still supported though).
prefix: $(PREFIX)/sysroot
# Update relibc used for compiling and clean all statically linked recipes
prefix_clean: | $(FSTOOLS_TAG)
rm -rf $(PREFIX)/relibc $(PREFIX)/sysroot
$(MAKE) c.base,base-initfs,extrautils,kernel,ion,pkgutils,redoxfs,relibc
PREFIX_STRIP=\
mkdir -p bin libexec "$(GCC_TARGET)/bin" && \
find bin libexec "$(GCC_TARGET)/bin" "$(GCC_TARGET)/lib" \