2018-02-04 19:07:40 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# rustc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
RUSTC_ARCH = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ARCH))
|
|
|
|
RUSTC_ABI = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ABI))
|
|
|
|
|
2018-02-13 08:21:27 +01:00
|
|
|
RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-gnu$(RUSTC_ABI)
|
2018-02-04 19:07:40 +01:00
|
|
|
|
|
|
|
ifeq ($(HOSTARCH),x86)
|
|
|
|
RUSTC_HOST_ARCH = i686
|
|
|
|
else
|
|
|
|
RUSTC_HOST_ARCH = $(HOSTARCH)
|
|
|
|
endif
|
|
|
|
|
2018-02-13 08:21:27 +01:00
|
|
|
RUSTC_HOST_NAME = $(RUSTC_HOST_ARCH)-unknown-linux-gnu
|
2018-02-04 19:07:40 +01:00
|
|
|
|
|
|
|
$(eval $(host-virtual-package))
|