forked from Mirror/GodMode9
Improve vram0 tar handling
This commit is contained in:
parent
9268a2f349
commit
f653dade6e
5
Makefile
5
Makefile
@ -16,8 +16,8 @@ export RELDIR := release
|
|||||||
|
|
||||||
# Definitions for initial RAM disk
|
# Definitions for initial RAM disk
|
||||||
VRAM_OUT := $(OUTDIR)/vram0.tar
|
VRAM_OUT := $(OUTDIR)/vram0.tar
|
||||||
VRAM_FLAGS := --format=v7 --blocking-factor=1
|
|
||||||
VRAM_DATA := data
|
VRAM_DATA := data
|
||||||
|
VRAM_FLAGS := --format=v7 --blocking-factor=1 --xform='s/^$(VRAM_DATA)\/\|^resources\///'
|
||||||
|
|
||||||
# Definitions for ARM binaries
|
# Definitions for ARM binaries
|
||||||
export INCLUDE := -I"$(shell pwd)/common"
|
export INCLUDE := -I"$(shell pwd)/common"
|
||||||
@ -62,8 +62,7 @@ release: clean
|
|||||||
vram0:
|
vram0:
|
||||||
@mkdir -p "$(OUTDIR)"
|
@mkdir -p "$(OUTDIR)"
|
||||||
@echo "Creating $(VRAM_OUT)"
|
@echo "Creating $(VRAM_OUT)"
|
||||||
@tar cf $(VRAM_OUT) $(VRAM_FLAGS) --xform='s/^.*\///' $(README) $(SPLASH)
|
@tar cf $(VRAM_OUT) $(VRAM_FLAGS) $(shell ls -d $(README) $(SPLASH) $(VRAM_DATA)/*)
|
||||||
@-tar rf $(VRAM_OUT) $(VRAM_FLAGS) --xform='s/^$(VRAM_DATA)\///' $(VRAM_DATA)/*
|
|
||||||
|
|
||||||
elf:
|
elf:
|
||||||
@set -e; for elf in $(ELF); do \
|
@set -e; for elf in $(ELF); do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user