Android port: Remove the "make zip" dependency of make apk again (see r28068).

It was reintroduced in r28138.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28141 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-09-22 20:50:06 +00:00
parent 3013103249
commit 55d70363bd
2 changed files with 9 additions and 4 deletions

View file

@ -20,9 +20,16 @@ Use this as your build folder, using '../tools/configure' etc.
$ ../tools/configure # type 200, then chose A for android and your screen resolution $ ../tools/configure # type 200, then chose A for android and your screen resolution
$ make $ make
After the build finished, build the apk file:
After the build finished, build the zip file which contains codecs and themes (the binary is a separate file):
$ make zip
Once you have the zip, pack it and the binary into the apk
$ make apk $ make apk
Side note: You don't necessarily need to recreate the zip once you have it, only if you're unsure or if you know its content changed.
Not recreating it will save time because it's only unzipped on the device if it's newer than what's on the device
You can install that on your device or emulator with the following command: You can install that on your device or emulator with the following command:
$ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk $ $ANDROID_SDK_PATH/tools/adb install -r bin/Rockbox.apk

View file

@ -78,9 +78,7 @@ dex: $(DEX)
$(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY) $(BINLIB_DIR)/$(BINARY): $(BUILDDIR)/$(BINARY)
$(call PRINTS,CP $(BINARY))cp $^ $@ $(call PRINTS,CP $(BINARY))cp $^ $@
$(BUILDDIR)/rockbox.zip: zip $(BINLIB_DIR)/libmisc.so:
$(BINLIB_DIR)/libmisc.so: $(BUILDDIR)/rockbox.zip
$(call PRINTS,CP rockbox.zip)cp $^ $@ $(call PRINTS,CP rockbox.zip)cp $^ $@
libs: $(LIBS) libs: $(LIBS)