Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
meta-elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
meta-elphel393
Commits
a3d566f9
Commit
a3d566f9
authored
Nov 07, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved replacement files/dirs to src/
parent
9e092948
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
linux-xlnx_3.10.bbappend
recipes-kernel/linux/linux-xlnx_3.10.bbappend
+3
-3
No files found.
recipes-kernel/linux/linux-xlnx_3.10.bbappend
View file @
a3d566f9
...
@@ -30,8 +30,8 @@ do_fetch_append() {
...
@@ -30,8 +30,8 @@ do_fetch_append() {
do_unpack_append() {
do_unpack_append() {
if os.path.isdir("${DEV_DIR}"):
if os.path.isdir("${DEV_DIR}"):
print("DEV_DIR exists - creating links...")
print("DEV_DIR exists - creating links...")
devdir_abspath = os.path.abspath("${DEV_DIR}")
devdir_abspath = os.path.abspath("${DEV_DIR}
/src
")
for path, folders, files in os.walk("${DEV_DIR}"):
for path, folders, files in os.walk("${DEV_DIR}
/src
"):
folders[:]=[fd for fd in folders if fd != ".git"]
folders[:]=[fd for fd in folders if fd != ".git"]
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))
...
@@ -43,5 +43,5 @@ do_unpack_append() {
...
@@ -43,5 +43,5 @@ do_unpack_append() {
os.system("cd ${S};ln -s "+file_abspath+" "+file_relpath)
os.system("cd ${S};ln -s "+file_abspath+" "+file_relpath)
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}/* ${S}")
os.system("cp -rf ${linux-elphel_gitdir}/
src/
* ${S}")
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment