@@ -253,7 +253,7 @@ BZIP2_LIB-$(target)=$$(BZIP2_DIR-$(target))/_install/lib/libbz2.a
253
253
$$(BZIP2_DIR-$(target ) ) /Makefile: downloads/bzip2-$(BZIP2_VERSION ) .tar.gz
254
254
@echo ">>> Unpack BZip2 sources for $(target ) "
255
255
mkdir -p $$(BZIP2_DIR-$(target ) )
256
- tar zxf $$^ --strip-components 1 -C $$(BZIP2_DIR-$(target ) )
256
+ tar zxf $$< --strip-components 1 -C $$(BZIP2_DIR-$(target ) )
257
257
# Touch the makefile to ensure that Make identifies it as up to date.
258
258
touch $$(BZIP2_DIR-$(target ) ) /Makefile
259
259
@@ -272,10 +272,10 @@ $$(BZIP2_LIB-$(target)): $$(BZIP2_DIR-$(target))/Makefile
272
272
XZ_DIR-$(target ) =build/$(os ) /xz-$(XZ_VERSION ) -$(target )
273
273
XZ_LIB-$(target ) =$$(XZ_DIR-$(target ) ) /_install/lib/liblzma.a
274
274
275
- $$(XZ_DIR-$(target ) ) /Makefile: downloads/xz-$(XZ_VERSION ) .tgz
275
+ $$(XZ_DIR-$(target ) ) /Makefile: downloads/xz-$(XZ_VERSION ) .tar.gz
276
276
@echo ">>> Unpack XZ sources for $(target ) "
277
277
mkdir -p $$(XZ_DIR-$(target ) )
278
- tar zxf downloads/xz- $( XZ_VERSION ) .tgz --strip-components 1 -C $$(XZ_DIR-$(target ) )
278
+ tar zxf $$< --strip-components 1 -C $$(XZ_DIR-$(target ) )
279
279
# Configure the build
280
280
cd $$(XZ_DIR-$(target ) ) && \
281
281
./configure \
@@ -303,7 +303,7 @@ OPENSSL_CRYPTO_LIB-$(target)=$$(OPENSSL_DIR-$(target))/_install/lib/libcrypto.a
303
303
$$(OPENSSL_DIR-$(target ) ) /is_configured: downloads/openssl-$(OPENSSL_VERSION ) .tar.gz
304
304
@echo ">>> Unpack and configure OpenSSL sources for $(target ) "
305
305
mkdir -p $$(OPENSSL_DIR-$(target ) )
306
- tar zxf $$^ --strip-components 1 -C $$(OPENSSL_DIR-$(target ) )
306
+ tar zxf $$< --strip-components 1 -C $$(OPENSSL_DIR-$(target ) )
307
307
308
308
ifeq ($$(findstring simulator,$$(SDK-$(target ) ) ) ,)
309
309
# Tweak ui_openssl.c
@@ -405,15 +405,15 @@ PYTHON_LIB-$(target)=$$(PYTHON_DIR-$(target))/_install/lib/libpython$(PYTHON_VER
405
405
PYCONFIG_H-$(target) =build/$(os ) /python/$$(SDK-$(target ) ) /include/python$(PYTHON_VER ) /pyconfig-$$(ARCH-$(target ) ) .h
406
406
407
407
$$(PYTHON_DIR-$(target ) ) /Makefile : \
408
+ downloads/Python-$(PYTHON_VERSION ) .tgz \
408
409
$$(BZIP2_XCFRAMEWORK-$(os ) ) \
409
410
$$(XZ_XCFRAMEWORK-$(os ) ) \
410
411
$$(OPENSSL_XCFRAMEWORK-$(os ) ) \
411
412
$$(LIBFFI_XCFRAMEWORK-$(os ) ) \
412
- $$(PYTHON_XCFRAMEWORK-macOS ) \
413
- downloads/Python-$(PYTHON_VERSION ) .tgz
413
+ $$(PYTHON_XCFRAMEWORK-macOS )
414
414
@echo " >>> Unpack and configure Python for $( target) "
415
415
mkdir -p $$(PYTHON_DIR-$(target ) )
416
- tar zxf downloads/Python- $( PYTHON_VERSION ) .tgz --strip-components 1 -C $$(PYTHON_DIR-$(target ) )
416
+ tar zxf $$< --strip-components 1 -C $$(PYTHON_DIR-$(target ) )
417
417
# Apply target Python patches
418
418
cd $$(PYTHON_DIR-$(target ) ) && patch -p1 < $(PROJECT_DIR ) /patch/Python/Python.patch
419
419
# Generate the embedded module configuration
@@ -706,10 +706,10 @@ ifneq ($(os),macOS)
706
706
LIBFFI_XCFRAMEWORK-$(os) =build/$(os ) /Support/libFFI.xcframework
707
707
LIBFFI_DIR-$(os) =build/$(os ) /libffi-$(LIBFFI_VERSION )
708
708
709
- $$(LIBFFI_DIR-$(os ) ) /darwin_common/include/ffi.h : downloads/libffi-$(LIBFFI_VERSION ) .tgz $$(PYTHON_XCFRAMEWORK-macOS )
709
+ $$(LIBFFI_DIR-$(os ) ) /darwin_common/include/ffi.h : downloads/libffi-$(LIBFFI_VERSION ) .tar.gz $$(PYTHON_XCFRAMEWORK-macOS )
710
710
@echo " >>> Unpack and configure libFFI sources on $( os) "
711
711
mkdir -p $$(LIBFFI_DIR-$(os ) )
712
- tar zxf downloads/libffi- $( LIBFFI_VERSION ) .tgz --strip-components 1 -C $$(LIBFFI_DIR-$(os ) )
712
+ tar zxf $$< --strip-components 1 -C $$(LIBFFI_DIR-$(os ) )
713
713
# Patch the build to add support for new platforms
714
714
cd $$(LIBFFI_DIR-$(os ) ) && patch -p1 < $(PROJECT_DIR ) /patch/libffi.patch
715
715
# Configure the build
@@ -758,13 +758,13 @@ PYTHON_DIR-$(os)=$$(PYTHON_DIR-$$(firstword $$(TARGETS-$(os))))
758
758
PYTHON_LIB-$(os) =$$(PYTHON_LIB-$$(firstword $$(TARGETS-$(os ) ) ) )
759
759
760
760
$$(PYTHON_DIR-$(os ) ) /Makefile : \
761
+ downloads/Python-$(PYTHON_VERSION ) .tgz \
761
762
$$(BZIP2_XCFRAMEWORK-$(os ) ) \
762
763
$$(XZ_XCFRAMEWORK-$(os ) ) \
763
- $$(OPENSSL_XCFRAMEWORK-$(os ) ) \
764
- downloads/Python-$(PYTHON_VERSION ) .tgz
764
+ $$(OPENSSL_XCFRAMEWORK-$(os ) )
765
765
@echo " >>> Unpack and configure Python for $( os) "
766
766
mkdir -p $$(PYTHON_DIR-$(os ) )
767
- tar zxf downloads/Python- $( PYTHON_VERSION ) .tgz --strip-components 1 -C $$(PYTHON_DIR-$(os ) )
767
+ tar zxf $$< --strip-components 1 -C $$(PYTHON_DIR-$(os ) )
768
768
# Apply target Python patches
769
769
cd $$(PYTHON_DIR-$(os ) ) && patch -p1 < $(PROJECT_DIR ) /patch/Python/Python.patch
770
770
cat $(PROJECT_DIR ) /patch/Python/Setup.embedded \
0 commit comments