rust: comment fixups, indent fixups, don't manage submodules

This commit is contained in:
Cody P Schafer
2014-11-17 16:37:51 -05:00
parent 300e709464
commit 25773e391e
+2 -2
View File
@@ -216,11 +216,10 @@ python do_rust_arch_fixup () {
rust_gen_mk_cfg(d, thing) rust_gen_mk_cfg(d, thing)
} }
addtask do_rust_arch_fixup before do_configure after do_patch addtask do_rust_arch_fixup before do_configure after do_patch
do_rust_arch_fixup[dirs] = "${WORKDIR}"
do_configure () { do_configure () {
# FIXME: allow --enable-local-rust
# FIXME: target_prefix vs prefix, see cross.bbclass # FIXME: target_prefix vs prefix, see cross.bbclass
# FIXME: handle non-native builds
# CFLAGS, LDFLAGS, CXXFLAGS, CPPFLAGS are used by rust's build for a # CFLAGS, LDFLAGS, CXXFLAGS, CPPFLAGS are used by rust's build for a
# wide range of targets (not just HOST). Yocto's settings for them will # wide range of targets (not just HOST). Yocto's settings for them will
@@ -247,6 +246,7 @@ do_configure () {
"--infodir=${infodir}" \ "--infodir=${infodir}" \
"--mandir=${mandir}" \ "--mandir=${mandir}" \
"--libdir=${libdir}" \ "--libdir=${libdir}" \
"--disable-manage-submodules" \
${@base_conditional('USE_LOCAL_RUST', '1', '--enable-local-rust', '', d)} \ ${@base_conditional('USE_LOCAL_RUST', '1', '--enable-local-rust', '', d)} \
${EXTRA_OECONF} ${EXTRA_OECONF}
} }