mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
dcf31c6a1e
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
21 lines
533 B
Makefile
21 lines
533 B
Makefile
################################################################################
|
|
#
|
|
# rustc
|
|
#
|
|
################################################################################
|
|
|
|
RUSTC_ARCH = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ARCH))
|
|
RUSTC_ABI = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ABI))
|
|
|
|
RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-gnu$(RUSTC_ABI)
|
|
|
|
ifeq ($(HOSTARCH),x86)
|
|
RUSTC_HOST_ARCH = i686
|
|
else
|
|
RUSTC_HOST_ARCH = $(HOSTARCH)
|
|
endif
|
|
|
|
RUSTC_HOST_NAME = $(RUSTC_HOST_ARCH)-unknown-linux-gnu
|
|
|
|
$(eval $(host-virtual-package))
|