diff options
-rw-r--r-- | packaging/pandora/pandora.make | 22 | ||||
-rw-r--r-- | tools/root.make | 7 |
2 files changed, 28 insertions, 1 deletions
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 @@ | |||
1 | PANDORA_DIR=$(ROOTDIR)/packaging/pandora | ||
2 | PND_MAKE=/usr/local/angstrom/arm/scripts/pnd_make | ||
3 | PND_BUILD_DIR=pnddir | ||
4 | |||
5 | pnddir: | ||
6 | mkdir $(PND_BUILD_DIR) | ||
7 | |||
8 | pnd: pnddir $(PND_MAKE) $(DEPFILE) build | ||
9 | # Creating PND file | ||
10 | make PREFIX=$(PND_BUILD_DIR)/rockbox fullinstall | ||
11 | |||
12 | # Install Pandora build files | ||
13 | cp $(PANDORA_DIR)/PXML.xml $(PND_BUILD_DIR) | ||
14 | cp $(PANDORA_DIR)/rockbox.png $(PND_BUILD_DIR) | ||
15 | cp $(PANDORA_DIR)/rockbox_preview.jpg $(PND_BUILD_DIR) | ||
16 | cp $(PANDORA_DIR)/run_rockbox.sh $(PND_BUILD_DIR) | ||
17 | |||
18 | # Add docs folder | ||
19 | cp -rf $(ROOTDIR)/docs $(PND_BUILD_DIR) | ||
20 | |||
21 | # Invoke pndmake | ||
22 | $(PND_MAKE) -p rockbox.pnd -d $(PND_BUILD_DIR) -x $(PND_BUILD_DIR)/PXML.xml -i $(PND_BUILD_DIR)/rockbox.png -c | ||
diff --git a/tools/root.make b/tools/root.make index b5889967d5..a54d77891a 100644 --- a/tools/root.make +++ b/tools/root.make | |||
@@ -105,7 +105,11 @@ else | |||
105 | ifneq (,$(findstring android, $(APP_TYPE))) | 105 | ifneq (,$(findstring android, $(APP_TYPE))) |
106 | include $(ROOTDIR)/android/android.make | 106 | include $(ROOTDIR)/android/android.make |
107 | endif | 107 | endif |
108 | 108 | ||
109 | ifneq (,$(findstring pandora, $(MODELNAME))) | ||
110 | include $(ROOTDIR)/packaging/pandora/pandora.make | ||
111 | endif | ||
112 | |||
109 | endif # bootloader | 113 | endif # bootloader |
110 | 114 | ||
111 | OBJ := $(SRC:.c=.o) | 115 | OBJ := $(SRC:.c=.o) |
@@ -341,6 +345,7 @@ help: | |||
341 | @echo "fontzip - creates rockbox-fonts.zip" | 345 | @echo "fontzip - creates rockbox-fonts.zip" |
342 | @echo "mapzip - creates rockbox-maps.zip with all .map files" | 346 | @echo "mapzip - creates rockbox-maps.zip with all .map files" |
343 | @echo "elfzip - creates rockbox-elfs.zip with all .elf files" | 347 | @echo "elfzip - creates rockbox-elfs.zip with all .elf files" |
348 | @echo "pnd - creates rockbox.pnd archive (Pandora builds only)" | ||
344 | @echo "tools - builds the tools only" | 349 | @echo "tools - builds the tools only" |
345 | @echo "voice - creates the voice clips (voice builds only)" | 350 | @echo "voice - creates the voice clips (voice builds only)" |
346 | @echo "voicetools - builds the voice tools only" | 351 | @echo "voicetools - builds the voice tools only" |