forked from Mirror/GodMode9
limit size of initrd, fix building on msys2
This commit is contained in:
parent
6487307cf0
commit
5e307a3f32
16
Makefile
16
Makefile
@ -18,13 +18,17 @@ export COMMON_DIR := ../common
|
|||||||
# Definitions for initial RAM disk
|
# Definitions for initial RAM disk
|
||||||
VRAM_OUT := $(OUTDIR)/vram0.tar
|
VRAM_OUT := $(OUTDIR)/vram0.tar
|
||||||
VRAM_DATA := data
|
VRAM_DATA := data
|
||||||
VRAM_FLAGS := --make-new --path-limit 99 --size-limit 3145728
|
VRAM_FLAGS := --make-new --path-limit 99 --size-limit 262144
|
||||||
|
|
||||||
#ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
# PY3 := py -3
|
ifeq ($(TERM),)
|
||||||
#else
|
PY3 := py -3 # Windows / CMD/PowerShell
|
||||||
PY3 := python3
|
else
|
||||||
#endif
|
PY3 := python3 # Windows / MSYS2
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
PY3 := python3 # Unix-like
|
||||||
|
endif
|
||||||
|
|
||||||
# Definitions for ARM binaries
|
# Definitions for ARM binaries
|
||||||
export INCLUDE := -I"$(shell pwd)/common"
|
export INCLUDE := -I"$(shell pwd)/common"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user