From a81cff209f51798d74dc71d284c429988d7e8c65 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sun, 21 Dec 2025 13:54:02 +0700 Subject: [PATCH] Add a way to update prefix and statically linked recipes --- mk/prefix.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mk/prefix.mk b/mk/prefix.mk index 47fdd6bcd..1975aacb8 100644 --- a/mk/prefix.mk +++ b/mk/prefix.mk @@ -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" \