1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Index: tools/configure
===================================================================
--- tools/configure	(Revision 20682)
+++ tools/configure	(Arbeitskopie)
@@ -2524,6 +2524,7 @@
  -e "s,@LANGS@,${buildlangs},g" \
  -e "s,@USE_ELF@,${USE_ELF},g" \
  -e "s,@RBDIR@,${rbdir},g" \
+ -e "s,@PREFIX@,$PREFIX,g" \
  -e "s,@CMDLINE@,$cmdline,g" \
 <<EOF
 ## Automatically generated. http://www.rockbox.org/
@@ -2570,6 +2571,7 @@
 export DLLTOOL=@DLLTOOL@
 export DLLWRAP=@DLLWRAP@
 export RANLIB=@RANLIB@
+export PREFIX=@PREFIX@
 export PROFILE_OPTS=@PROFILE_OPTS@
 export SIMVER=@SIMVER@
 export SIMDIR=\$(ROOTDIR)/uisimulator/sdl
Index: tools/root.make
===================================================================
--- tools/root.make	(Revision 20682)
+++ tools/root.make	(Arbeitskopie)
@@ -266,6 +266,11 @@
 	$(SILENT)for f in `cat $(BUILDDIR)/apps/features`; do feat="$$feat:$$f" ; done; \
 	$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -s -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 $(TARGET) $(BINARY)

+else
+install: tar
+	@echo "Installing your build onto your target at $(PREFIX)"
+	$(SILENT)tar xf rockbox.tar -C $(PREFIX)
+	$(SILENT)rm -f rockbox.tar
 endif

 help: