Skip to content

Commit 9514d46

Browse files
committed
Use $$< instead of $$^
tar's -f option expects a single archive-file, therefore the name of the first prerequisite ($^) of download related targets should be passed instead of the names of all the prerequisites ($^).
1 parent 73ae260 commit 9514d46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ BZIP2_LIB-$(target)=$$(BZIP2_DIR-$(target))/_install/lib/libbz2.a
253253
$$(BZIP2_DIR-$(target))/Makefile: downloads/bzip2-$(BZIP2_VERSION).tar.gz
254254
@echo ">>> Unpack BZip2 sources for $(target)"
255255
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))
257257
# Touch the makefile to ensure that Make identifies it as up to date.
258258
touch $$(BZIP2_DIR-$(target))/Makefile
259259

@@ -303,7 +303,7 @@ OPENSSL_CRYPTO_LIB-$(target)=$$(OPENSSL_DIR-$(target))/_install/lib/libcrypto.a
303303
$$(OPENSSL_DIR-$(target))/is_configured: downloads/openssl-$(OPENSSL_VERSION).tar.gz
304304
@echo ">>> Unpack and configure OpenSSL sources for $(target)"
305305
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))
307307

308308
ifeq ($$(findstring simulator,$$(SDK-$(target))),)
309309
# Tweak ui_openssl.c

0 commit comments

Comments
 (0)