@@ -66,7 +66,7 @@ ANDROID_STL_INCLUDES = $(foreach dir,$(ANDROID_STL_INCLUDE_DIRS_$(AND
66
66
# Tools and Executables
67
67
#
68
68
69
- android-ndk-which = $(shell $(AbsTopSourceDir)/build/ scripts/android-ndk-which --ndk-home $(ANDROID_NDK_HOME) $(1) $(TARGET_ABI))
69
+ android-ndk-which = $(shell $(AbsTopSourceDir)/scripts/android-ndk-which --ndk-home $(ANDROID_NDK_HOME) $(1) $(TARGET_ABI))
70
70
71
71
AR = $(call android-ndk-which,ar)
72
72
AS = $(call android-ndk-which,as)
@@ -114,7 +114,7 @@ INCLUDES += -isystem $(ANDROID_NDK_HOME)/sysroot/usr/incl
114
114
#
115
115
# Compilation/Build Flags
116
116
#
117
-
117
+
118
118
CPPFLAGS = --sysroot=$(ABI_SYSROOT) $(DEFINES) $(INCLUDES) $(ABI_CPPFLAGS)
119
119
CFLAGS = $(CPPFLAGS) -ffunction-sections -funwind-tables $(ABI_CFLAGS)
120
120
CXXFLAGS = $(CPPFLAGS) -fno-rtti $(ABI_CXXFLAGS)
@@ -142,7 +142,7 @@ CONFIGURE_OPTIONS = --disable-cocoa \
142
142
ifeq ($(DEBUG),1)
143
143
CONFIGURE_OPTIONS += --enable-debug --enable-optimization=no
144
144
else
145
- CONFIGURE_OPTIONS +=
145
+ CONFIGURE_OPTIONS +=
146
146
endif
147
147
148
148
@@ -162,7 +162,7 @@ TopResultDir = $(ResultPath)
162
162
AbsTopResultDir = $(PWD)/$(TopResultDir)
163
163
164
164
# NB: Regardless of where JAVA_HOME points, always use the JNI headers from the Android NDK,
165
- # and only include the top-most directory (include), not the system directory (include/linux).
165
+ # and only include the top-most directory (include), not the system directory (include/linux).
166
166
# Because the NDK mixes the JNI headers in with the linux headers, listing the system
167
167
# directory in the -I flags will result in strange compilation errors. And unlike the standard
168
168
# Java jni.h, the jni.h that comes with the Android NDK does not depend on any system-specific
@@ -257,7 +257,7 @@ JNI_INCLUDE_DIRS="$(JNI_INCLUDE_DIRS)" \
257
257
--host=$(ABI_CONFIG_TUPLE_$(1)) \
258
258
--with-sysroot=$(ABI_SYSROOT) \
259
259
--with-libtool-sysroot=$(ABI_SYSROOT) \
260
- --with-chip-project-includes=$(AbsTopSourceDir)/build/ config/android \
260
+ --with-chip-project-includes=$(AbsTopSourceDir)/config/android \
261
261
--prefix=/ \
262
262
--exec-prefix=/$(ABI_CONFIG_TUPLE_$(1)) \
263
263
$(CONFIGURE_OPTIONS))
@@ -444,7 +444,7 @@ $(TopResultDir) $(BUILD_DIRS):
444
444
445
445
help:
446
446
$(ECHO) ""
447
- $(ECHO) "Type 'make -f $(firstword $(MAKEFILE_LIST))' to build CHIP for Android for the following"
447
+ $(ECHO) "Type 'make -f $(firstword $(MAKEFILE_LIST))' to build CHIP for Android for the following"
448
448
$(ECHO) "API level and ABIs: "
449
449
$(ECHO) ""
450
450
$(ECHO) " API Level $(ANDROID_API)"
0 commit comments