]>
git.proxmox.com Git - rustc.git/blob - debian/architecture.mk
1 # This Makefile snippet defines DEB_*_RUST_TYPE triples based on DEB_*_GNU_TYPE
3 include /usr
/share
/dpkg
/architecture.mk
5 rust_cpu
= $(subst i586
,i686
,$(1))
7 $(foreach machine
,BUILD HOST TARGET
,\
8 $(eval DEB_
$(machine
)_RUST_TYPE ?
= $(call rust_cpu
,$(DEB_
$(machine
)_GNU_CPU
))-unknown-
$(DEB_
$(machine
)_GNU_SYSTEM
)))