{"basehash":"96c06a030f6e07b7e720bf3ed1cc4dde17eb74f28e9e9b91ecb42643fb12a88a","basehash_ignore_vars":{"_set_object":["BBPATH","BBSERVER","BB_CURRENTTASK","BB_HASHSERVE","BB_LIMITEDDEPS","BB_TASKHASH","BB_UNIHASH","BB_WORKERCONTEXT","BUILDHISTORY_DIR","BUILD_ARCH","CCACHE","CCACHE_DIR","CCACHE_NOHASHDIR","CCACHE_TOP_DIR","COREBASE","DEPLOY_DIR","DL_DIR","EXTERNAL_TOOLCHAIN","FILE","FILESEXTRAPATHS","FILESPATH","FILE_DIRNAME","GIT_CEILING_DIRECTORIES","HOME","LICENSE_PATH","LOGNAME","OMP_NUM_THREADS","PARALLEL_MAKE","PATH","PKGDATA_DIR","PLNX_SCRIPTS_PATH","PRSERV_DUMPDIR","PRSERV_DUMPFILE","PRSERV_HOST","PRSERV_LOCKDOWN","PSEUDO_IGNORE_PATHS","PWD","RUST_BUILD_SYS","RUST_HOST_SYS","RUST_TARGET_SYS","SDKPKGSUFFIX","SHELL","SOURCE_DATE_EPOCH","SSTATE_DIR","SSTATE_HASHEQUIV_METHOD","SSTATE_HASHEQUIV_OWNER","SSTATE_HASHEQUIV_REPORT_TASKDATA","SSTATE_PKGARCH","STAGING_DIR_HOST","STAGING_DIR_TARGET","STAMPCLEAN","STAMPS_DIR","THISDIR","TMPDIR","USER","WARN_QA","WORKDIR","extend_recipe_sysroot"]},"file_checksum_values":[],"gendeps":{"EXTERNALSRC":{"_set_object":[]},"MACHINE":{"_set_object":[]},"S":{"_set_object":["STAGING_KERNEL_DIR"]},"STAGING_KERNEL_DIR":{"_set_object":["MACHINE"]}},"runtaskdeps":["linux-xlnx:do_unpack"],"runtaskhashes":{"linux-xlnx:do_unpack":"f51bd48e2c8dbe04958147f185ae48cfa8e17eedadad4f41bc771ca9750452fd"},"task":"do_symlink_kernsrc","taskdeps":{"_set_object":["EXTERNALSRC","MACHINE","S","STAGING_KERNEL_DIR"]},"taskhash":"0e459e5c948e43c4c60ff6281b5488d928dc0a9d7ba884ffad2c66731a2a3da5","taskhash_ignore_tasks":null,"unihash":"0e459e5c948e43c4c60ff6281b5488d928dc0a9d7ba884ffad2c66731a2a3da5","varvals":{"EXTERNALSRC":"","MACHINE":"versal-net-generic","S":"${STAGING_KERNEL_DIR}","STAGING_KERNEL_DIR":"${TMPDIR}/work-shared/${MACHINE}/kernel-source","do_symlink_kernsrc":"    s = d.getVar(\"S\")\n    kernsrc = d.getVar(\"STAGING_KERNEL_DIR\")\n    if s != kernsrc:\n        bb.utils.mkdirhier(kernsrc)\n        bb.utils.remove(kernsrc, recurse=True)\n        if s[-1] == '/':\n            # drop trailing slash, so that os.symlink(kernsrc, s) doesn't use s as\n            # directory name and fail\n            s = s[:-1]\n        if d.getVar(\"EXTERNALSRC\"):\n            # With EXTERNALSRC S will not be wiped so we can symlink to it\n            os.symlink(s, kernsrc)\n        else:\n            import shutil\n            shutil.move(s, kernsrc)\n            os.symlink(kernsrc, s)\n"}}