rust: add cfg.mk suffix

This commit is contained in:
Cody P Schafer
2014-11-19 15:12:39 -05:00
parent 9e8cef3ff7
commit 437dd5d57c
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ def rust_gen_mk_cfg(d, thing):
p = d.getVar('S', True) + '/mk/cfg/' p = d.getVar('S', True) + '/mk/cfg/'
o = open(p + sys_for(d, thing), 'w') o = open(p + sys_for(d, thing) + '.mk', 'w')
i = open(p + rust_base_sys, 'r') i = open(p + rust_base_sys + '.mk', 'r')
r = subprocess.call(['sed', r = subprocess.call(['sed',
# update all triplets to the new one # update all triplets to the new one
+1
View File
@@ -14,4 +14,5 @@ SRC_URI_append = "\
file://0027-mk-target-fix-typo-so-we-depend-on-the-correct-direc.patch \ file://0027-mk-target-fix-typo-so-we-depend-on-the-correct-direc.patch \
file://0028-rustdoc-avoid-supplying-a-bad-default-sysroot-so-the.patch \ file://0028-rustdoc-avoid-supplying-a-bad-default-sysroot-so-the.patch \
file://0030-Target-add-default-target.json-path-libdir-rust-targ.patch \ file://0030-Target-add-default-target.json-path-libdir-rust-targ.patch \
file://0031-mk-cfg-add-.mk-suffix-on-files-to-avoid-supprises-wh.patch \
" "