diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-01-09 10:29:29 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2013-01-09 10:33:08 +0100 |
commit | d798c721e5e702028f6eabf416ffa9883e45fb39 (patch) | |
tree | 71fc41333dfe5de89cac0275fcacc46027ae8cef /android/android.make | |
parent | 62de15fedfe0e8cd3ea7232c4676425cf9de86cc (diff) |
android: Update to SDK r16 and ndk r8d.
SDK r17 is out, however there it only ships a x86 system image for r16 so
it's preferable.
Change-Id: Idc4d375debf407a36c2dc6421420bdbd74ab25ca
Diffstat (limited to 'android/android.make')
-rw-r--r-- | android/android.make | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/android/android.make b/android/android.make index 7bbe199e6f..6d10121952 100644 --- a/android/android.make +++ b/android/android.make @@ -14,21 +14,21 @@ ANDROID_DIR=$(ROOTDIR)/android # this is a glibc compatibility hack to provide a get_nprocs() replacement. # The NDK ships cpu-features.c which has a compatible function android_getCpuCount() -CPUFEAT = $(ANDROID_DIR)/cpufeatures -CPUFEAT_BUILD = $(subst $(ANDROID_DIR),$(BUILDDIR),$(CPUFEAT)) +CPUFEAT = $(ANDROID_NDK_PATH)/sources/android/cpufeatures +CPUFEAT_BUILD = $(BUILDDIR) INCLUDES += -I$(CPUFEAT) OTHER_SRC += $(CPUFEAT)/cpu-features.c CLEANOBJS += $(CPUFEAT_BUILD)/cpu-features.o $(CPUFEAT_BUILD)/cpu-features.o: $(CPUFEAT)/cpu-features.c $(SILENT)mkdir -p $(dir $@) - $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -o $@ -c $^ $(GCCOPTS) -Wno-unused + $(call PRINTS,CC $(subst $(CPUFEAT)/,,$<))$(CC) -o $@ -c $^ $(GCCOPTS) -Wno-unused .SECONDEXPANSION: # $$(JAVA_OBJ) is not populated until after this .SECONDEXPANSION: # $$(OBJ) is not populated until after this .PHONY: apk classes clean dex dirs libs jar # API version -ANDROID_PLATFORM_VERSION=15 +ANDROID_PLATFORM_VERSION=16 ANDROID_PLATFORM=$(ANDROID_SDK_PATH)/platforms/android-$(ANDROID_PLATFORM_VERSION) # android tools @@ -62,10 +62,10 @@ LIBS += $(addprefix $(BINLIB_DIR)/lib,$(patsubst %.codec,%.so,$(notdir $(CODEC TEMP_APK := $(BUILDDIR)/bin/_rockbox.apk TEMP_APK2 := $(BUILDDIR)/bin/__rockbox.apk -DEX := $(BUILDDIR)/bin/classes.dex -JAR := $(BUILDDIR)/bin/classes.jar -AP_ := $(BUILDDIR)/bin/resources.ap_ -APK := $(BUILDDIR)/rockbox.apk +DEX := $(BUILDDIR)/bin/classes.dex +JAR := $(BUILDDIR)/bin/classes.jar +AP_ := $(BUILDDIR)/bin/resources.ap_ +APK := $(BUILDDIR)/rockbox.apk _DIRS := $(BUILDDIR)/___/$(PACKAGE_PATH) DIRS += $(subst ___,gen,$(_DIRS)) |