bodnuti: [PATCH] rust: Squash rust-cross-canadian.inc into the recipe base: ae5cafacec8e [PATCH] rust: Squash rust-cross-canadian.inc into the recipe ERROR oelint oelint.task.nomkdir meta/recipes-devtools/rust/rust-cross-canadian_1.99.0.bb:56 'mkdir' shall not be used in do_install. Use 'install' 53 | create_sdk_wrapper "${SYS_BINDIR}/target-rust-ccld-wrapper" "CC" 54 | 55 | ENV_SETUP_DIR=${D}${base_prefix}/environment-setup.d/${TARGET_ARCH} > 56 | mkdir -p "${ENV_SETUP_DIR}" 57 | RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust.sh" 58 | 59 | RUST_TARGET_TRIPLE=`echo ${RUST_TARGET_SYS} | tr '[:lower:]' '[:upper:]' | sed 's/-/_/g'` WARNING oelint oelint.vars.dependsordered meta/recipes-devtools/rust/rust-cross-canadian_1.99.0.bb:13 'DEPENDS' entries should be ordered alphabetically 10 | 11 | MODIFYTOS = "0" 12 | > 13 | DEPENDS += "virtual/nativesdk-cross-cc virtual/nativesdk-libc virtual/nativesdk-compilerlibs" 14 | 15 | SRC_URI += "file://target-rust-ccld.c" 16 | LIC_FILES_CHKSUM = "file://target-rust-ccld.c;md5=af4e0e29f81a34cffe05aa07c89e93e9;endline=7" WARNING oelint oelint.tabs.notabs meta/recipes-devtools/rust/rust-cross-canadian_1.99.0.bb:20 Don't use tabs use spaces 17 | S = "${UNPACKDIR}" 18 | 19 | # Need to use our SDK's sh here, see #14878 > 20 | create_sdk_wrapper () { 21 | file="$1" 22 | shift 23 | cat <<- EOF > "${file}" WARNING oelint oelint.tabs.notabs meta/recipes-devtools/rust/rust-cross-canadian_1.99.0.bb:31 Don't use tabs use spaces 28 | chmod +x "$file" 29 | } 30 | > 31 | do_install () { 32 | # Rust requires /usr/lib to contain the libs. 33 | # The required structure is retained for simplicity. 34 | SYS_LIBDIR=$(dirname ${D}${libdir}) INFO oelint oelint.task.docstrings meta/recipes-devtools/rust/rust-cross-canadian_1.99.0.bb:20 Every custom task should have a doc string set by task[doc] = '...' 17 | S = "${UNPACKDIR}" 18 | 19 | # Need to use our SDK's sh here, see #14878 > 20 | create_sdk_wrapper () { 21 | file="$1" 22 | shift 23 | cat <<- EOF > "${file}" patchtest: 10 pass, 0 fail, 5 skip 5 findings: 1 errors, 3 warnings, 1 info