From 986a92fe6667d1946f0017570abfa1487157be70 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Thu, 9 Jun 2011 20:58:03 +0000 Subject: Pandora port: Automate rockbox.pnd (=binary archive) build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29991 a1c6a512-1295-4272-9138-f99709370657 --- packaging/pandora/pandora.make | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packaging/pandora/pandora.make (limited to 'packaging') diff --git a/packaging/pandora/pandora.make b/packaging/pandora/pandora.make new file mode 100644 index 0000000000..de767d4e8a --- /dev/null +++ b/packaging/pandora/pandora.make @@ -0,0 +1,22 @@ +PANDORA_DIR=$(ROOTDIR)/packaging/pandora +PND_MAKE=/usr/local/angstrom/arm/scripts/pnd_make +PND_BUILD_DIR=pnddir + +pnddir: + mkdir $(PND_BUILD_DIR) + +pnd: pnddir $(PND_MAKE) $(DEPFILE) build + # Creating PND file + make PREFIX=$(PND_BUILD_DIR)/rockbox fullinstall + + # Install Pandora build files + cp $(PANDORA_DIR)/PXML.xml $(PND_BUILD_DIR) + cp $(PANDORA_DIR)/rockbox.png $(PND_BUILD_DIR) + cp $(PANDORA_DIR)/rockbox_preview.jpg $(PND_BUILD_DIR) + cp $(PANDORA_DIR)/run_rockbox.sh $(PND_BUILD_DIR) + + # Add docs folder + cp -rf $(ROOTDIR)/docs $(PND_BUILD_DIR) + + # Invoke pndmake + $(PND_MAKE) -p rockbox.pnd -d $(PND_BUILD_DIR) -x $(PND_BUILD_DIR)/PXML.xml -i $(PND_BUILD_DIR)/rockbox.png -c -- cgit v1.2.3