Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kernel-bitbake-parser
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
kernel-bitbake-parser
Commits
1f891bcf
Commit
1f891bcf
authored
Apr 17, 2015
by
Yuri Nenakhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rearrange output
parent
659e62f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
kbparse.py
kbparse.py
+14
-12
No files found.
kbparse.py
View file @
1f891bcf
...
@@ -97,18 +97,6 @@ for line in sys.stdin:
...
@@ -97,18 +97,6 @@ for line in sys.stdin:
for
i
in
all_paths
:
for
i
in
all_paths
:
if
i
in
srcdir
:
if
i
in
srcdir
:
all_paths
.
remove
(
i
)
all_paths
.
remove
(
i
)
print
(
" ╔════════════════════╗
\n
║ define symbols ║
\n
╚════════════════════╝"
)
xml_defs
=
""
for
i
in
defsyms
:
i
=
i
.
split
(
"="
)
xml_defs
+=
"<listOptionValue builtIn=
\"
false
\"
value=
\"
"
+
i
[
0
]
+
"="
try
:
xml_defs
+=
i
[
1
]
except
IndexError
:
xml_defs
+=
"1"
xml_defs
+=
"
\"
/>
\n
"
xml_defs
=
xml_defs
[:
-
1
]
print
(
xml_defs
)
print
(
" ╔════════════════════╗
\n
║ include paths ║
\n
╚════════════════════╝"
)
print
(
" ╔════════════════════╗
\n
║ include paths ║
\n
╚════════════════════╝"
)
for
i
in
inc_paths
:
for
i
in
inc_paths
:
...
@@ -122,6 +110,20 @@ for i in range(len(all_paths)):
...
@@ -122,6 +110,20 @@ for i in range(len(all_paths)):
all_paths
.
pop
(
i
+
1
)
all_paths
.
pop
(
i
+
1
)
except
IndexError
:
except
IndexError
:
pass
pass
print
(
" ╔════════════════════╗
\n
║ define symbols ║
\n
╚════════════════════╝"
)
xml_defs
=
""
for
i
in
defsyms
:
i
=
i
.
split
(
"="
)
xml_defs
+=
"<listOptionValue builtIn=
\"
false
\"
value=
\"
"
+
i
[
0
]
+
"="
try
:
xml_defs
+=
i
[
1
]
except
IndexError
:
xml_defs
+=
"1"
xml_defs
+=
"
\"
/>
\n
"
xml_defs
=
xml_defs
[:
-
1
]
print
(
xml_defs
)
print
(
" ╔════════════════════╗
\n
║ source paths ║
\n
╚════════════════════╝"
)
print
(
" ╔════════════════════╗
\n
║ source paths ║
\n
╚════════════════════╝"
)
xml_src
=
"<entry excluding=
\"
"
xml_src
=
"<entry excluding=
\"
"
for
i
in
all_paths
:
for
i
in
all_paths
:
...
...
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