mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 15:48:05 -04:00
pandora: workaround some reported problems
This commit is contained in:
parent
8d9b4b32d4
commit
d9653efdf7
3 changed files with 17 additions and 6 deletions
|
@ -1,7 +1,12 @@
|
|||
# release packaging makefile
|
||||
|
||||
VER ?= $(shell head -n 1 ../common/version.h | \
|
||||
VER := $(shell head -n 1 ../common/version.h | \
|
||||
sed 's/.*"\(.*\)\.\(.*\)".*/\1\2/g')
|
||||
BUILD := $(shell git describe HEAD | grep -- - | \
|
||||
sed -e 's/.*\-\(.*\)\-.*/\1/')
|
||||
ifneq "$(BUILD)" ""
|
||||
VER := $(VER)_$(BUILD)
|
||||
endif
|
||||
|
||||
PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh
|
||||
|
||||
|
@ -13,8 +18,8 @@ all: rel
|
|||
/tmp/readme.txt: ../../tools/textfilter ../base_readme.txt
|
||||
../../tools/textfilter ../base_readme.txt $@ PANDORA
|
||||
|
||||
/tmp/PicoDrive.pxml: PicoDrive.pxml.template
|
||||
./make_pxml.sh $^ $@
|
||||
/tmp/PicoDrive.pxml: PicoDrive.pxml.template FORCE
|
||||
./make_pxml.sh $< $@
|
||||
|
||||
rel: ../../PicoDrive PicoDrive.sh picorestore \
|
||||
PicoDrive.png PicoDrive_p.png \
|
||||
|
@ -25,3 +30,5 @@ rel: ../../PicoDrive PicoDrive.sh picorestore \
|
|||
cp -r $^ out/
|
||||
$(PND_MAKE) -p PicoDrive_$(VER).pnd -d out -x out/PicoDrive.pxml -i out/PicoDrive.png -c
|
||||
|
||||
FORCE:
|
||||
.PHONY: all rel FORCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue