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:
commit
27c3d69aed
|
@ -129,13 +129,8 @@ ifeq ($(UNAME),Darwin)
|
||||||
QEMUFLAGS+=-cpu $(QEMU_CPU)
|
QEMUFLAGS+=-cpu $(QEMU_CPU)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(UNAME),Linux)
|
|
||||||
$(BUILD)/extra.img:
|
|
||||||
fallocate --posix --length 1G $@
|
|
||||||
else
|
|
||||||
$(BUILD)/extra.img:
|
$(BUILD)/extra.img:
|
||||||
truncate -s 1g $@
|
truncate -s 1g $@
|
||||||
endif
|
|
||||||
|
|
||||||
$(BUILD)/firmware.rom:
|
$(BUILD)/firmware.rom:
|
||||||
ifeq ($(ARCH),aarch64)
|
ifeq ($(ARCH),aarch64)
|
||||||
|
|
Loading…
Reference in a new issue