Skip to content

Commit b311960

Browse files
committed
Tweaked build to eliminate rebuilding on complete targets and improve debugging details.
1 parent 9720624 commit b311960

File tree

1 file changed

+67
-35
lines changed

1 file changed

+67
-35
lines changed

Makefile

Lines changed: 67 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,15 @@ update-patch:
110110

111111
# Clean the OpenSSL project
112112
clean-OpenSSL:
113+
@echo ">>> Clean OpenSSL build products"
113114
rm -rf build/*/openssl-$(OPENSSL_VERSION)-* \
114115
build/*/openssl \
115116
build/*/libssl.a build/*/libcrypto.a \
116117
build/*/Support/OpenSSL
117118

118119
# Download original OpenSSL source code archive.
119120
downloads/openssl-$(OPENSSL_VERSION).tgz:
121+
@echo ">>> Download OpenSSL sources"
120122
mkdir -p downloads
121123
-if [ ! -e downloads/openssl-$(OPENSSL_VERSION).tgz ]; then curl --fail -L http://openssl.org/source/openssl-$(OPENSSL_VERSION).tar.gz -o downloads/openssl-$(OPENSSL_VERSION).tgz; fi
122124
if [ ! -e downloads/openssl-$(OPENSSL_VERSION).tgz ]; then curl --fail -L http://openssl.org/source/old/$(OPENSSL_VERSION_NUMBER)/openssl-$(OPENSSL_VERSION).tar.gz -o downloads/openssl-$(OPENSSL_VERSION).tgz; fi
@@ -127,12 +129,14 @@ downloads/openssl-$(OPENSSL_VERSION).tgz:
127129

128130
# Clean the bzip2 project
129131
clean-BZip2:
132+
@echo ">>> Clean BZip2 build products"
130133
rm -rf build/*/bzip2-$(BZIP2_VERSION)-* \
131134
build/*/bzip2 \
132135
build/*/Support/BZip2.xcframework
133136

134137
# Download original BZip2 source code archive.
135138
downloads/bzip2-$(BZIP2_VERSION).tgz:
139+
@echo ">>> Download BZip2 sources"
136140
mkdir -p downloads
137141
if [ ! -e downloads/bzip2-$(BZIP2_VERSION).tgz ]; then curl --fail -L https://sourceware.org/pub/bzip2/bzip2-$(BZIP2_VERSION).tar.gz -o downloads/bzip2-$(BZIP2_VERSION).tgz; fi
138142

@@ -142,12 +146,14 @@ downloads/bzip2-$(BZIP2_VERSION).tgz:
142146

143147
# Clean the XZ project
144148
clean-XZ:
149+
@echo ">>> Clean XZ build products"
145150
rm -rf build/*/xz-$(XZ_VERSION)-* \
146151
build/*/xz \
147152
build/*/Support/XZ.xcframework
148153

149154
# Download original XZ source code archive.
150155
downloads/xz-$(XZ_VERSION).tgz:
156+
@echo ">>> Download XZ sources"
151157
mkdir -p downloads
152158
if [ ! -e downloads/xz-$(XZ_VERSION).tgz ]; then curl --fail -L http://tukaani.org/xz/xz-$(XZ_VERSION).tar.gz -o downloads/xz-$(XZ_VERSION).tgz; fi
153159

@@ -157,11 +163,13 @@ downloads/xz-$(XZ_VERSION).tgz:
157163

158164
# Clean the LibFFI project
159165
clean-libFFI:
166+
@echo ">>> Clean libFFI build products"
160167
rm -rf build/*/libffi-$(LIBFFI_VERSION) \
161168
build/*/Support/libFFI
162169

163170
# Download original XZ source code archive.
164171
downloads/libffi-$(LIBFFI_VERSION).tgz:
172+
@echo ">>> Download libFFI sources"
165173
mkdir -p downloads
166174
if [ ! -e downloads/libffi-$(LIBFFI_VERSION).tgz ]; then curl --fail -L http://github.com/libffi/libffi/releases/download/v$(LIBFFI_VERSION)/libffi-$(LIBFFI_VERSION).tar.gz -o downloads/libffi-$(LIBFFI_VERSION).tgz; fi
167175

@@ -171,6 +179,7 @@ downloads/libffi-$(LIBFFI_VERSION).tgz:
171179

172180
# Clean the Python project
173181
clean-Python:
182+
@echo ">>> Clean Python build products"
174183
rm -rf \
175184
build/*/Python-$(PYTHON_VERSION)-* \
176185
build/*/libpython$(PYTHON_VER).a \
@@ -179,6 +188,7 @@ clean-Python:
179188

180189
# Download original Python source code archive.
181190
downloads/Python-$(PYTHON_VERSION).tgz:
191+
@echo ">>> Download Python sources"
182192
mkdir -p downloads
183193
if [ ! -e downloads/Python-$(PYTHON_VERSION).tgz ]; then curl -L https://www.python.org/ftp/python/$(PYTHON_MICRO_VERSION)/Python-$(PYTHON_VERSION).tgz > downloads/Python-$(PYTHON_VERSION).tgz; fi
184194

@@ -229,9 +239,8 @@ LDFLAGS-$(target)=-arch $$(ARCH-$(target)) -isysroot=$$(SDK_ROOT-$(target))
229239

230240
OPENSSL_DIR-$(target)=build/$(os)/openssl-$(OPENSSL_VERSION)-$(target)
231241

232-
# Unpack OpenSSL
233242
$$(OPENSSL_DIR-$(target))/Makefile: downloads/openssl-$(OPENSSL_VERSION).tgz
234-
# Unpack sources
243+
@echo ">>> Unpack and configure OpenSSL sources for $(target)"
235244
mkdir -p $$(OPENSSL_DIR-$(target))
236245
tar zxf downloads/openssl-$(OPENSSL_VERSION).tgz --strip-components 1 -C $$(OPENSSL_DIR-$(target))
237246
ifeq ($$(findstring simulator,$$(SDK-$(target))),)
@@ -246,7 +255,7 @@ ifeq ($$(findstring iphone,$$(SDK-$(target))),)
246255
LC_ALL=C sed -ie 's/-D_REENTRANT:iOS/-D_REENTRANT:$(os)/' $$(OPENSSL_DIR-$(target))/Configure
247256
endif
248257

249-
# Configure the OpenSSL build
258+
# Configure the OpenSSL build
250259
ifeq ($(os),macOS)
251260
cd $$(OPENSSL_DIR-$(target)) && \
252261
CC="$$(CC-$(target))" MACOSX_DEPLOYMENT_TARGET=$$(MACOSX_DEPLOYMENT_TARGET) \
@@ -259,9 +268,9 @@ else
259268
./Configure iphoneos-cross no-asm no-tests --prefix=$(PROJECT_DIR)/build/$(os)/openssl --openssldir=/etc/ssl
260269
endif
261270

262-
# Build OpenSSL
263271
$$(OPENSSL_DIR-$(target))/libssl.a $$(OPENSSL_DIR-$(target))/libcrypto.a: $$(OPENSSL_DIR-$(target))/Makefile
264-
# Make the build, and install just the software (not the docs)
272+
@echo ">>> Build and install OpenSSL for $(target)"
273+
# Make the build; install just the software (not the docs)
265274
cd $$(OPENSSL_DIR-$(target)) && \
266275
CC="$$(CC-$(target))" \
267276
CROSS_TOP="$$(dir $$(SDK_ROOT-$(target))).." \
@@ -273,29 +282,32 @@ $$(OPENSSL_DIR-$(target))/libssl.a $$(OPENSSL_DIR-$(target))/libcrypto.a: $$(OPE
273282
###########################################################################
274283

275284
BZIP2_DIR-$(target)=build/$(os)/bzip2-$(BZIP2_VERSION)-$(target)
285+
BZIP2_LIB-$(target)=build/$(os)/bzip2/$(target)/lib/libbz2.a
276286

277-
# Unpack BZip2
278287
$$(BZIP2_DIR-$(target))/Makefile: downloads/bzip2-$(BZIP2_VERSION).tgz
279-
# Unpack sources
288+
@echo ">>> Unpack BZip2 sources for $(target)"
280289
mkdir -p $$(BZIP2_DIR-$(target))
281290
tar zxf downloads/bzip2-$(BZIP2_VERSION).tgz --strip-components 1 -C $$(BZIP2_DIR-$(target))
291+
# Touch the makefile to ensure that Make identifies it as up to date.
292+
touch $$(BZIP2_DIR-$(target))/Makefile
282293

283-
# Build BZip2
284-
$$(BZIP2_DIR-$(target))/libbz2.a: $$(BZIP2_DIR-$(target))/Makefile
294+
$$(BZIP2_LIB-$(target)): $$(BZIP2_DIR-$(target))/Makefile
295+
@echo ">>> Build BZip2 for $(target)"
296+
mkdir -p build/$(os)/bzip2/$(target)
285297
cd $$(BZIP2_DIR-$(target)) && \
286298
make install \
287-
PREFIX="$(PROJECT_DIR)/build/$(os)/bzip2" \
299+
PREFIX="$(PROJECT_DIR)/build/$(os)/bzip2/$(target)" \
288300
CC="$$(CC-$(target))"
289301

290302
###########################################################################
291303
# Target: XZ (LZMA)
292304
###########################################################################
293305

294306
XZ_DIR-$(target)=build/$(os)/xz-$(XZ_VERSION)-$(target)
307+
XZ_LIB-$(target)=build/$(os)/xz/$(target)/lib/liblzma.a
295308

296-
# Unpack XZ
297309
$$(XZ_DIR-$(target))/Makefile: downloads/xz-$(XZ_VERSION).tgz
298-
# Unpack sources
310+
@echo ">>> Unpack XZ sources for $(target)"
299311
mkdir -p $$(XZ_DIR-$(target))
300312
tar zxf downloads/xz-$(XZ_VERSION).tgz --strip-components 1 -C $$(XZ_DIR-$(target))
301313
# Configure the build
@@ -304,10 +316,10 @@ $$(XZ_DIR-$(target))/Makefile: downloads/xz-$(XZ_VERSION).tgz
304316
LDFLAGS="$$(LDFLAGS-$(target))" \
305317
--disable-shared --enable-static \
306318
--host=$$(MACHINE_SIMPLE-$(target))-apple-darwin \
307-
--prefix=$(PROJECT_DIR)/build/$(os)/xz
319+
--prefix=$(PROJECT_DIR)/build/$(os)/xz/$(target)
308320

309-
# Build XZ
310-
$$(XZ_DIR-$(target))/src/liblzma/.libs/liblzma.a: $$(XZ_DIR-$(target))/Makefile
321+
$$(XZ_LIB-$(target)): $$(XZ_DIR-$(target))/Makefile
322+
@echo ">>> Build and install XZ for $(target)"
311323
cd $$(XZ_DIR-$(target)) && make && make install
312324

313325
###########################################################################
@@ -321,8 +333,8 @@ LIBFFI_DIR-$(target)=build/$(os)/libffi-$(LIBFFI_VERSION)
321333
ifneq ($(os),macOS)
322334
LIBFFI_BUILD_DIR-$(target)=build_$$(SDK-$(target))-$$(ARCH-$(target))
323335

324-
# Build LibFFI
325336
$$(LIBFFI_DIR-$(target))/libffi.$(target).a: $$(LIBFFI_DIR-$(target))/darwin_common
337+
@echo ">>> Build libFFI for $(target)"
326338
cd $$(LIBFFI_DIR-$(target))/$$(LIBFFI_BUILD_DIR-$(target)) && make
327339

328340
# Copy in the lib to a non-BUILD_DIR dependent location;
@@ -346,7 +358,7 @@ PYTHON_HOST-$(target)=$(PYTHON_HOST)
346358

347359
# Unpack Python
348360
$$(PYTHON_DIR-$(target))/Makefile: downloads/Python-$(PYTHON_VERSION).tgz $$(PYTHON_HOST-$(target))
349-
# Unpack target Python
361+
@echo ">>> Unpack and configure Python for $(target)"
350362
mkdir -p $$(PYTHON_DIR-$(target))
351363
tar zxf downloads/Python-$(PYTHON_VERSION).tgz --strip-components 1 -C $$(PYTHON_DIR-$(target))
352364
# Apply target Python patches
@@ -365,13 +377,14 @@ $$(PYTHON_DIR-$(target))/Makefile: downloads/Python-$(PYTHON_VERSION).tgz $$(PYT
365377

366378
# Build Python
367379
$$(PYTHON_DIR-$(target))/dist/lib/libpython$(PYTHON_VER).a: build/$(os)/Support/OpenSSL build/$(os)/Support/BZip2 build/$(os)/Support/XZ build/$(os)/Support/libFFI $$(PYTHON_DIR-$(target))/Makefile
368-
# Build target Python
380+
@echo ">>> Build Python for $(target)"
369381
cd $$(PYTHON_DIR-$(target)) && PATH="$(PROJECT_DIR)/$(PYTHON_DIR-macOS)/dist/bin:$(PATH)" make all install
370382

371383
endif
372384

373385
# Dump environment variables (for debugging purposes)
374386
vars-$(target):
387+
@echo ">>> Environment variables for $(target)"
375388
@echo "ARCH-$(target): $$(ARCH-$(target))"
376389
@echo "MACHINE_DETAILED-$(target): $$(MACHINE_DETAILED-$(target))"
377390
@echo "SDK-$(target): $$(SDK-$(target))"
@@ -384,6 +397,7 @@ vars-$(target):
384397
@echo "LIBFFI_DIR-$(target): $$(LIBFFI_DIR-$(target))"
385398
@echo "PYTHON_DIR-$(target): $$(PYTHON_DIR-$(target))"
386399
@echo "pyconfig.h-$(target): $$(pyconfig.h-$(target))"
400+
@echo
387401

388402
endef # build-target
389403

@@ -397,6 +411,7 @@ arch=$1
397411
os=$2
398412

399413
build/$(os)/pyconfig.h-$(arch): $$(PYTHON_DIR-$(arch))/dist/include/python$(PYTHON_VER)/pyconfig.h
414+
@echo ">>> Install pyconfig.h for $(arch) on $(os)"
400415
cp -f $$^ $$@
401416

402417
# Dump environment variables (for debugging purposes)
@@ -420,28 +435,36 @@ SDK_ARCHES-$(sdk)=$$(sort $$(subst .,,$$(suffix $$(SDK_TARGETS-$(sdk)))))
420435
# SDK: BZip2
421436
###########################################################################
422437

423-
BZIP2_FATLIB-$$(sdk)=build/$(os)/bzip2/lib/$(sdk)/libbz2.a
438+
BZIP2_FATLIB-$(sdk)=build/$(os)/bzip2/$(sdk)/lib/libbz2.a
424439

425-
$$(BZIP2_FATLIB-$(sdk)): $$(foreach target,$$(SDK_TARGETS-$(sdk)),$$(BZIP2_DIR-$$(target))/libbz2.a)
426-
mkdir -p build/$(os)/bzip2/lib/$(sdk)
440+
$$(BZIP2_FATLIB-$(sdk)): $$(foreach target,$$(SDK_TARGETS-$(sdk)),$$(BZIP2_LIB-$$(target)))
441+
@echo ">>> Build BZip2 fat library for $(sdk)"
442+
mkdir -p build/$(os)/bzip2/$(sdk)/lib
427443
xcrun --sdk $(sdk) libtool -static -o $$@ $$^
444+
# Copy headers from the first target associated with the SDK
445+
cp -r build/$(os)/bzip2/$$(firstword $$(SDK_TARGETS-$(sdk)))/include build/$(os)/bzip2/$(sdk)
428446

429447
###########################################################################
430448
# SDK: XZ (LZMA)
431449
###########################################################################
432450

433-
XZ_FATLIB-$$(sdk)=build/$(os)/xz/lib/$(sdk)/liblzma.a
451+
XZ_FATLIB-$(sdk)=build/$(os)/xz/$(sdk)/lib/liblzma.a
434452

435-
$$(XZ_FATLIB-$(sdk)): $$(foreach target,$$(SDK_TARGETS-$(sdk)),$$(XZ_DIR-$$(target))/src/liblzma/.libs/liblzma.a)
436-
mkdir -p build/$(os)/xz/lib/$(sdk)
453+
$$(XZ_FATLIB-$(sdk)): $$(foreach target,$$(SDK_TARGETS-$(sdk)),$$(XZ_LIB-$$(target)))
454+
@echo ">>> Build XZ fat library for $(sdk)"
455+
mkdir -p build/$(os)/xz/$(sdk)/lib
437456
xcrun --sdk $(sdk) libtool -static -o $$@ $$^
457+
# Copy headers from the first target associated with the SDK
458+
cp -r build/$(os)/xz/$$(firstword $$(SDK_TARGETS-$(sdk)))/include build/$(os)/xz/$(sdk)
438459

439460
# Dump environment variables (for debugging purposes)
440461
vars-$(sdk):
462+
@echo ">>> Environment variables for $(sdk)"
441463
@echo "SDK_TARGETS-$(sdk): $$(SDK_TARGETS-$(sdk))"
442464
@echo "SDK_ARCHES-$(sdk): $$(SDK_ARCHES-$(sdk))"
443465
@echo "BZIP2_FATLIB-$(sdk): $$(BZIP2_FATLIB-$(sdk))"
444466
@echo "XZ_FATLIB-$(sdk): $$(XZ_FATLIB-$(sdk))"
467+
@echo
445468

446469
endef # build-sdk
447470

@@ -466,9 +489,11 @@ $$(foreach sdk,$$(SDKS-$(os)),$$(eval $$(call build-sdk,$$(sdk),$(os))))
466489
$(os): dist/Python-$(PYTHON_VER)-$(os)-support.$(BUILD_NUMBER).tar.gz
467490

468491
clean-$(os):
492+
@echo ">>> Clean $(os) build products"
469493
rm -rf build/$(os)
470494

471495
dist/Python-$(PYTHON_VER)-$(os)-support.$(BUILD_NUMBER).tar.gz: $$(BZIP2_XCFRAMEWORK-$(os)) $$(XZ_XCFRAMEWORK-$(os)) $$(OPENSSL_FRAMEWORK-$(os)) $$(LIBFFI_FRAMEWORK-$(os)) $$(PYTHON_FRAMEWORK-$(os))
496+
@echo ">>> Create final distribution artefact for $(os)"
472497
mkdir -p dist
473498
echo "Python version: $(PYTHON_VERSION) " > build/$(os)/Support/VERSIONS
474499
echo "Build: $(BUILD_NUMBER)" >> build/$(os)/Support/VERSIONS
@@ -496,6 +521,7 @@ OPENSSL_FRAMEWORK-$(os)=build/$(os)/Support/OpenSSL
496521
OpenSSL-$(os): $$(OPENSSL_FRAMEWORK-$(os))
497522

498523
$$(OPENSSL_FRAMEWORK-$(os)): build/$(os)/libssl.a build/$(os)/libcrypto.a
524+
@echo ">>> Create OpenSSL Framework for $(os)"
499525
# Create framework directory structure
500526
mkdir -p $$(OPENSSL_FRAMEWORK-$(os))
501527

@@ -521,25 +547,27 @@ build/$(os)/libcrypto.a: $$(foreach target,$$(TARGETS-$(os)),$$(OPENSSL_DIR-$$(t
521547

522548
BZIP2_XCFRAMEWORK-$(os)=build/$(os)/Support/BZip2.xcframework
523549

524-
BZip2-$(os): $$(BZIP2_XCFRAMEWORK-$(os))
525-
526550
$$(BZIP2_XCFRAMEWORK-$(os)): $$(foreach sdk,$$(SDKS-$(os)),$$(BZIP2_FATLIB-$$(sdk)))
551+
@echo ">>> Create BZip2.XCFramework on $(os)"
527552
mkdir -p $$(BZIP2_XCFRAMEWORK-$(os))
528553
xcodebuild -create-xcframework \
529-
-output $$@ $$(foreach sdk,$$(SDKS-$(os)),-library $$(BZIP2_FATLIB-$$(sdk)) -headers build/$(os)/bzip2/include)
554+
-output $$@ $$(foreach sdk,$$(SDKS-$(os)),-library $$(BZIP2_FATLIB-$$(sdk)) -headers build/$(os)/bzip2/$$(sdk)/include)
555+
556+
BZip2-$(os): $$(BZIP2_XCFRAMEWORK-$(os))
530557

531558
###########################################################################
532559
# Build: XZ (LZMA)
533560
###########################################################################
534561

535562
XZ_XCFRAMEWORK-$(os)=build/$(os)/Support/XZ.xcframework
536563

537-
XZ-$(os): $$(XZ_XCFRAMEWORK-$(os))
538-
539564
$$(XZ_XCFRAMEWORK-$(os)): $$(foreach sdk,$$(SDKS-$(os)),$$(XZ_FATLIB-$$(sdk)))
565+
@echo ">>> Create XZ.XCFramework on $(os)"
540566
mkdir -p $$(XZ_XCFRAMEWORK-$(os))
541567
xcodebuild -create-xcframework \
542-
-output $$@ $$(foreach sdk,$$(SDKS-$(os)),-library $$(XZ_FATLIB-$$(sdk)) -headers build/$(os)/xz/include)
568+
-output $$@ $$(foreach sdk,$$(SDKS-$(os)),-library $$(XZ_FATLIB-$$(sdk)) -headers build/$(os)/xz/$$(sdk)/include)
569+
570+
XZ-$(os): $$(XZ_XCFRAMEWORK-$(os))
543571

544572
###########################################################################
545573
# Build: libFFI
@@ -562,7 +590,7 @@ LIBFFI_DIR-$(os)=build/$(os)/libffi-$(LIBFFI_VERSION)
562590

563591
# Unpack LibFFI and generate source & headers
564592
$$(LIBFFI_DIR-$(os))/darwin_common: downloads/libffi-$(LIBFFI_VERSION).tgz
565-
# Unpack sources
593+
@echo ">>> Unpack and configure libFFI sources on $(os)"
566594
mkdir -p $$(LIBFFI_DIR-$(os))
567595
tar zxf downloads/libffi-$(LIBFFI_VERSION).tgz --strip-components 1 -C $$(LIBFFI_DIR-$(os))
568596
# Configure the build
@@ -595,9 +623,9 @@ PYTHON_RESOURCES-$(os)=$$(PYTHON_FRAMEWORK-$(os))/Resources
595623
# macOS builds a single Python universal2 target; thus it needs to be
596624
# configured in the `build` macro, not the `build-target` macro.
597625
ifeq ($(os),macOS)
598-
# Unpack Python
626+
599627
$$(PYTHON_DIR-$(os))/Makefile: downloads/Python-$(PYTHON_VERSION).tgz
600-
# Unpack target Python
628+
@echo ">>> Unpack and configure Python on $(os)"
601629
mkdir -p $$(PYTHON_DIR-$(os))
602630
tar zxf downloads/Python-$(PYTHON_VERSION).tgz --strip-components 1 -C $$(PYTHON_DIR-$(os))
603631
# Apply target Python patches
@@ -610,9 +638,8 @@ $$(PYTHON_DIR-$(os))/Makefile: downloads/Python-$(PYTHON_VERSION).tgz
610638
--without-doc-strings --enable-ipv6 --without-ensurepip --enable-universalsdk --with-universal-archs=universal2 \
611639
$$(PYTHON_CONFIGURE-$(os))
612640

613-
# Build Python
614641
$$(PYTHON_DIR-$(os))/dist/lib/libpython$(PYTHON_VER).a: $$(BZIP2_XCFRAMEWORK-$(os)) $$(XZ_XCFRAMEWORK-$(os)) $$(OPENSSL_FRAMEWORK-$(os)) $$(LIBFFI_FRAMEWORK-$(os)) $$(PYTHON_DIR-$(os))/Makefile
615-
# Build target Python
642+
@echo ">>> Build and install Python for $(os)"
616643
cd $$(PYTHON_DIR-$(os)) && PATH="$(PROJECT_DIR)/$(PYTHON_DIR-$(os))/dist/bin:$(PATH)" make all install
617644

618645
else
@@ -652,6 +679,7 @@ build/$(os)/libpython$(PYTHON_VER).a: $$(foreach target,$$(PYTHON_TARGETS-$(os))
652679

653680
# Dump environment variables (for debugging purposes)
654681
vars-$(os): $$(foreach target,$$(TARGETS-$(os)),vars-$$(target)) $$(foreach arch,$$(ARCHES-$(os)),vars-$$(arch)) $$(foreach sdk,$$(SDKS-$(os)),vars-$$(sdk))
682+
@echo ">>> Environment variables for $(os)"
655683
@echo "ARCHES-$(os): $$(ARCHES-$(os))"
656684
@echo "OPENSSL_FRAMEWORK-$(os): $$(OPENSSL_FRAMEWORK-$(os))"
657685
@echo "BZIP2_XCFRAMEWORK-$(os): $$(BZIP2_XCFRAMEWORK-$(os))"
@@ -661,6 +689,7 @@ vars-$(os): $$(foreach target,$$(TARGETS-$(os)),vars-$$(target)) $$(foreach arch
661689
@echo "LIBFFI_DIR-$(os): $$(LIBFFI_DIR-$(os))"
662690
@echo "PYTHON_RESOURCES-$(os): $$(PYTHON_RESOURCES-$(os))"
663691
@echo "PYTHON_TARGETS-$(os): $$(PYTHON_TARGETS-$(os))"
692+
@echo
664693

665694
endef # build
666695

@@ -670,3 +699,6 @@ vars: $(foreach os,$(OS_LIST),vars-$(os))
670699
# Expand the build macro for every OS
671700
$(foreach os,$(OS_LIST),$(eval $(call build,$(os))))
672701

702+
XZ: $(foreach os,$(OS_LIST),XZ-$(os))
703+
BZip2: $(foreach os,$(OS_LIST),BZip2-$(os))
704+

0 commit comments

Comments
 (0)