File tree 1 file changed +9
-0
lines changed 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -173,10 +173,17 @@ LIBUV_MAKEFILE_$(1)_$(2) := $$(CFG_BUILD_DIR)rt/$(1)/stage$(2)/libuv/Makefile
173
173
LIBUV_NO_LOAD = run-benchmarks.target.mk run-tests.target.mk \
174
174
uv_dtrace_header.target.mk uv_dtrace_provider.target.mk
175
175
176
+ ifeq ($(OSTYPE_$(1 ) ) , linux-androideabi)
177
+ $$(LIBUV_MAKEFILE_$(1 ) _$(2 ) ) : $$(LIBUV_GYP )
178
+ (cd $( S) src/libuv/ && \
179
+ $$(CFG_PYTHON ) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1 ) ) -D ninja -DOS=android \
180
+ -Goutput_dir=$$(@D ) --generator-output $$(@D ) )
181
+ else
176
182
$$(LIBUV_MAKEFILE_$(1 ) _$(2 ) ) : $$(LIBUV_GYP )
177
183
(cd $( S) src/libuv/ && \
178
184
$$(CFG_PYTHON ) ./gyp_uv -f make -Dtarget_arch=$$(LIBUV_ARCH_$(1 ) ) -D ninja \
179
185
-Goutput_dir=$$(@D ) --generator-output $$(@D ) )
186
+ endif
180
187
181
188
# XXX: Shouldn't need platform-specific conditions here
182
189
ifdef CFG_WINDOWSY_$(1)
@@ -194,8 +201,10 @@ $$(LIBUV_LIB_$(1)_$(2)): $$(LIBUV_DEPS) $$(LIBUV_MAKEFILE_$(1)_$(2))
194
201
LDFLAGS=" $$ (CFG_GCCISH_LINK_FLAGS) $$ (LIBUV_FLAGS_$$ (HOST_$( 1) ))" \
195
202
CC=" $$ (CC_$( 1) )" \
196
203
CXX=" $$ (CXX_$( 1) )" \
204
+ LINK=" $$ (CXX_$( 1) )" \
197
205
AR=" $$ (AR_$( 1) )" \
198
206
host=android OS=linux \
207
+ PLATFORM=android \
199
208
builddir=" ." \
200
209
BUILDTYPE=Release \
201
210
NO_LOAD=" $$ (LIBUV_NO_LOAD)" \
You can’t perform that action at this time.
0 commit comments