mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-09 21:18:41 +08:00
Define prefix_clean, rename existing one as static_clean
This commit is contained in:
parent
b7d781579a
commit
fd0276aa88
@ -28,8 +28,12 @@ PREFIX_STRIP=\
|
|||||||
-exec strip --strip-unneeded {} ';' \
|
-exec strip --strip-unneeded {} ';' \
|
||||||
2> /dev/null
|
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)
|
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.relibc
|
||||||
$(MAKE) c.base,base-initfs,extrautils,kernel,ion,pkgutils,redoxfs
|
$(MAKE) c.base,base-initfs,extrautils,kernel,ion,pkgutils,redoxfs
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user