To allow for multiple versions in the future we need to include the version info for the patches.
26 lines
876 B
Diff
26 lines
876 B
Diff
From 44ee7a68f44132ebe32ac486355945131c7a2b83 Mon Sep 17 00:00:00 2001
|
|
From: Steven Walter <swalter@lexmark.com>
|
|
Date: Wed, 18 Nov 2015 08:41:17 -0500
|
|
Subject: [PATCH 09/11] mk/platform.mk: pass -C crate_hash to builds
|
|
|
|
bitbake recipe will export FORCE_CRATE_HASH
|
|
---
|
|
mk/platform.mk | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/mk/platform.mk b/mk/platform.mk
|
|
index c264462..b959d59 100644
|
|
--- a/mk/platform.mk
|
|
+++ b/mk/platform.mk
|
|
@@ -181,6 +181,7 @@ define CFG_MAKE_TOOLCHAIN
|
|
AR_$(1)=$(CROSS_PREFIX_$(1))$(AR_$(1))
|
|
LINK_$(1)=$(CROSS_PREFIX_$(1))$(LINK_$(1))
|
|
RUSTC_CROSS_FLAGS_$(1)=-C linker=$$(call FIND_COMPILER,$$(LINK_$(1))) \
|
|
+ -C crate_hash=$(FORCE_CRATE_HASH) \
|
|
-C ar=$$(call FIND_COMPILER,$$(AR_$(1))) $(RUSTC_CROSS_FLAGS_$(1))
|
|
|
|
RUSTC_FLAGS_$(1)=$$(RUSTC_CROSS_FLAGS_$(1)) $(RUSTC_FLAGS_$(1))
|
|
--
|
|
2.7.4
|
|
|