Commit 20bf6b29 authored by Andrey Filippov's avatar Andrey Filippov

added link in the kernel development directory (linux-elphel) to the kernel tree

parent a3d566f9
...@@ -36,11 +36,12 @@ do_unpack_append() { ...@@ -36,11 +36,12 @@ do_unpack_append() {
for folder in folders: for folder in folders:
folder_abspath = os.path.abspath(os.path.join(path, folder)) folder_abspath = os.path.abspath(os.path.join(path, folder))
folder_relpath = folder_abspath.replace(devdir_abspath+"/", '') folder_relpath = folder_abspath.replace(devdir_abspath+"/", '')
os.system("cd ${S};mkdir "+folder_relpath) os.system("cd ${S};mkdir -p "+folder_relpath)
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};ln -s "+file_abspath+" "+file_relpath) os.system("cd ${S};ln -s "+file_abspath+" "+file_relpath)
os.system("cd ${DEV_DIR}; ln -sf ${S} linux")
else: else:
print("Copying ${linux-elphel_gitdir} over ${S}\n") print("Copying ${linux-elphel_gitdir} over ${S}\n")
os.system("cp -rf ${linux-elphel_gitdir}/src/* ${S}") os.system("cp -rf ${linux-elphel_gitdir}/src/* ${S}")
......
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