Skip to content

Commit b0f692f

Browse files
hkjnlaanwj
authored andcommitted
[depends] Allow depends system to support armv7l
Github-Pull: #12474 Rebased-From: ac91ea6 Tree-SHA512: 61020cab59532738bc876fc4591923a5b48fee7c5729419bc42654d714cd6cad685e6482e199a17bb57ea97edcd129a15561939d55fa40661d8f051329942bdb
1 parent 4b4d7eb commit b0f692f

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

depends/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ BUILD_ID_SALT ?= salt
2121
host:=$(BUILD)
2222
ifneq ($(HOST),)
2323
host:=$(HOST)
24-
host_toolchain:=$(HOST)-
2524
endif
2625

2726
ifneq ($(DEBUG),)

depends/hosts/default.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
ifneq ($(host),$(build))
2+
host_toolchain:=$(host)-
3+
endif
4+
15
default_host_CC = $(host_toolchain)gcc
26
default_host_CXX = $(host_toolchain)g++
37
default_host_AR = $(host_toolchain)ar

depends/packages/openssl.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ $(package)_config_opts_linux=-fPIC -Wa,--noexecstack
4747
$(package)_config_opts_x86_64_linux=linux-x86_64
4848
$(package)_config_opts_i686_linux=linux-generic32
4949
$(package)_config_opts_arm_linux=linux-generic32
50+
$(package)_config_opts_armv7l_linux=linux-generic32
5051
$(package)_config_opts_aarch64_linux=linux-generic64
5152
$(package)_config_opts_mipsel_linux=linux-generic32
5253
$(package)_config_opts_mips_linux=linux-generic32

0 commit comments

Comments
 (0)