Merge branch 'sparse_extra' into 'master'

Use sparse allocation of extra.img on Linux too

See merge request redox-os/redox!1391
This commit is contained in:
Jeremy Soller 2024-01-03 19:23:46 +00:00
commit 27c3d69aed

View file

@ -129,13 +129,8 @@ ifeq ($(UNAME),Darwin)
QEMUFLAGS+=-cpu $(QEMU_CPU)
endif
ifeq ($(UNAME),Linux)
$(BUILD)/extra.img:
fallocate --posix --length 1G $@
else
$(BUILD)/extra.img:
truncate -s 1g $@
endif
$(BUILD)/firmware.rom:
ifeq ($(ARCH),aarch64)