mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
rust: cargo: Convert single-valued variables to weak defaults
All of these variables are single-valued, so we can use weak-defaults for them and only see the final assignment after parsing. (From OE-Core rev: 3221e82a35a149fdf38fe66dcd5de758ac1b9185) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
43df94f7af
commit
dddfe1e3f4
@@ -16,8 +16,8 @@ FILES:${PN}-dbg += "${rustlibdir}/.debug"
|
||||
RUSTLIB = "-L ${STAGING_DIR_HOST}${rustlibdir}"
|
||||
RUST_DEBUG_REMAP = "--remap-path-prefix=${WORKDIR}=${TARGET_DBGSRC_DIR}"
|
||||
RUSTFLAGS += "${RUSTLIB} ${RUST_DEBUG_REMAP}"
|
||||
RUSTLIB_DEP ?= "libstd-rs"
|
||||
RUST_PANIC_STRATEGY ?= "unwind"
|
||||
RUSTLIB_DEP ??= "libstd-rs"
|
||||
RUST_PANIC_STRATEGY ??= "unwind"
|
||||
|
||||
def target_is_armv7(d):
|
||||
'''Determine if target is armv7'''
|
||||
|
||||
Reference in New Issue
Block a user