Commit 2bf73c48 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

fixed links creation

parent 9013e39f
......@@ -50,11 +50,14 @@ python do_link() {
file_relpath = file_abspath.replace(devdir_abspath+"/", '')
os.system("cd ${S};ln -s "+file_abspath+" "+file_relpath)
os.system("cd ${DEV_DIR}; ln -sf ${S} linux")
os.system("cd ${DEV_DIR}; ln -sf ${TOPDIR}/tmp/sysroots sysroots")
#os.system("cd ${DEV_DIR}; ln -sf ${S} linux")
if not os.path.isdir("${DEV_DIR}/sysroots"):
os.system("cd ${DEV_DIR}; ln -sf ${TOPDIR}/tmp/sysroots sysroots")
if not os.path.isdir("${DEV_DIR}/linux"):
os.system("cd ${DEV_DIR}; ln -sf ${WORKDIR}/linux-${MACHINE}-standard-build linux")
else:
print("Copying ${linux-elphel_gitdir}/src/ over ${S}\n")
os.system("cp -rfv ${linux-elphel_gitdir}/src/* ${S}")
}
addtask do_link before do_kernel_configme after do_patch
addtask do_link before do_kernel_configme after do_patch
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment