Skip to content

Commit d644c45

Browse files
committed
build, refactor: Drop redundant $(package)_download_file assignments
No need to specify `$(package)_download_file` when it is equal to `$(package)_file_name`.
1 parent eca694a commit d644c45

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

depends/packages/native_clang.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ package=native_clang
22
$(package)_version=10.0.1
33
$(package)_download_path=https://github.com/llvm/llvm-project/releases/download/llvmorg-$($(package)_version)
44
ifneq (,$(findstring aarch64,$(BUILD)))
5-
$(package)_download_file=clang+llvm-$($(package)_version)-aarch64-linux-gnu.tar.xz
65
$(package)_file_name=clang+llvm-$($(package)_version)-aarch64-linux-gnu.tar.xz
76
$(package)_sha256_hash=90dc69a4758ca15cd0ffa45d07fbf5bf4309d47d2c7745a9f0735ecffde9c31f
87
else
9-
$(package)_download_file=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz
108
$(package)_file_name=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-16.04.tar.xz
119
$(package)_sha256_hash=48b83ef827ac2c213d5b64f5ad7ed082c8bcb712b46644e0dc5045c6f462c231
1210
endif

depends/packages/native_libtapi.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package=native_libtapi
22
$(package)_version=664b8414f89612f2dfd35a9b679c345aa5389026
33
$(package)_download_path=https://github.com/tpoechtrager/apple-libtapi/archive
4-
$(package)_download_file=$($(package)_version).tar.gz
54
$(package)_file_name=$($(package)_version).tar.gz
65
$(package)_sha256_hash=62e419c12d1c9fad67cc1cd523132bc00db050998337c734c15bc8d73cc02b61
76

0 commit comments

Comments
 (0)