Commit 9029a12d authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

ln -sf over existing files

parent 265c740e
...@@ -49,7 +49,7 @@ python do_link() { ...@@ -49,7 +49,7 @@ python do_link() {
for filename in files: for filename in files:
file_abspath = os.path.abspath(os.path.join(path, filename)) file_abspath = os.path.abspath(os.path.join(path, filename))
file_relpath = file_abspath.replace(devdir_abspath+"/", '') file_relpath = file_abspath.replace(devdir_abspath+"/", '')
os.system("cd ${S};mv "+file_relpath+" "+file_relpath+".orig;ln -sf "+file_abspath+" "+file_relpath) os.system("cd ${S};ln -sf "+file_abspath+" "+file_relpath)
#os.system("cd ${DEV_DIR}; ln -sf ${S} linux") #os.system("cd ${DEV_DIR}; ln -sf ${S} linux")
if not os.path.isdir("${DEV_DIR}/sysroots"): if not os.path.isdir("${DEV_DIR}/sysroots"):
......
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