mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
Merge branch 'proper-clean' into 'master'
Remove downloads in prefix_clean, remove repo tag in only in static_clean See merge request redox-os/redox!1956
This commit is contained in:
commit
9677392039
@ -25,16 +25,17 @@ PREFIX_CONFIG=CI=1 COOKBOOK_CLEAN_BUILD=true COOKBOOK_CLEAN_TARGET=false COOKBOO
|
||||
|
||||
prefix: $(PREFIX)/sysroot
|
||||
|
||||
# Remove prefix builds but retain downloaded binaries
|
||||
# Remove prefix builds and downloads
|
||||
prefix_clean:
|
||||
rm -rf $(PREFIX)/sysroot $(PREFIX)/*-install
|
||||
rm -rf $(PREFIX)
|
||||
|
||||
# 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
|
||||
$(MAKE) c.bash,luajit,gettext,openssl1,pcre2,sdl1,zstd,zlib,bzip2,xz
|
||||
$(MAKE) c.bash,luajit,gettext,openssl1,openssl3,pcre2,sdl1,zstd,zlib,bzip2,xz
|
||||
$(MAKE) c.expat,freetype2,libffi,libiconv,libjpeg,liborbital,libpng,libxml2,ncurses,ncursesw
|
||||
rm -rf $(REPO_TAG)
|
||||
|
||||
$(PREFIX)/relibc-install: $(PREFIX)/clang-install $(PREFIX)/rust-install $(PREFIX)/gcc-install | $(FSTOOLS_TAG) $(CONTAINER_TAG)
|
||||
ifeq ($(PODMAN_BUILD),1)
|
||||
|
||||
@ -61,7 +61,7 @@ ifeq ($(PODMAN_BUILD),1)
|
||||
$(PODMAN_RUN) make $@
|
||||
else
|
||||
$(REPO_BIN) clean relibc
|
||||
rm -rf $(PREFIX)/relibc-install $(PREFIX)/sysroot $(REPO_TAG)
|
||||
rm -rf $(PREFIX)/relibc-install $(PREFIX)/sysroot
|
||||
@echo "\033[1;36;49mSysroot cleaned\033[0m"
|
||||
endif
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user