Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
7b094701
Commit
7b094701
authored
Jun 09, 2017
by
Jens Korinth
Browse files
Bugfix in tapasco-build-libs (missing LKM)
parent
877e715c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tapasco-build-libs
View file @
7b094701
...
...
@@ -25,10 +25,10 @@ if not 'TAPASCO_PLATFORM' in os.environ:
print
(
'Platform: '
+
os
.
environ
[
'TAPASCO_PLATFORM'
])
moddir
=
'
$
TAPASCO_HOME/platform/
$
TAPASCO_PLATFORM/module'
pdir
=
'
$
TAPASCO_HOME/platform/
$
TAPASCO_PLATFORM/build'
adir
=
'
$
TAPASCO_HOME/arch/axi4mm/build'
tdir
=
'
$
TAPASCO_HOME/arch/tests/build'
moddir
=
os
.
environ
[
'TAPASCO_HOME
'
]
+
'
/platform/
'
+
os
.
environ
[
'
TAPASCO_PLATFORM
'
]
+
'
/module'
pdir
=
os
.
environ
[
'TAPASCO_HOME
'
]
+
'
/platform/
'
+
os
.
environ
[
'
TAPASCO_PLATFORM
'
]
+
'
/build'
adir
=
os
.
environ
[
'TAPASCO_HOME
'
]
+
'
/arch/axi4mm/build'
tdir
=
os
.
environ
[
'TAPASCO_HOME
'
]
+
'
/arch/tests/build'
if
clean
or
args
.
rebuild
:
subprocess
.
call
([
'rm -rf '
+
pdir
],
shell
=
True
)
...
...
@@ -45,12 +45,11 @@ if not clean:
if
'LINUX_HOME'
in
os
.
environ
:
subprocess
.
call
([
'make -C '
+
os
.
environ
[
'LINUX_HOME'
]
+
' scripts'
],
shell
=
True
)
else
:
if
os
.
environ
[
'TAPASCO_PLATFORM'
]
is
'vc709'
:
print
'cd '
+
moddir
+
' && make '
+
(
'DEBUG_VERBOSE=y '
if
driver_debug
else
' '
)
subprocess
.
call
([
'cd '
+
moddir
+
' && make '
+
(
'DEBUG_VERBOSE=y '
if
driver_debug
else
' '
)],
shell
=
True
)
else
:
subprocess
.
call
([
'cd '
+
moddir
+
' && make '
+
(
''
if
driver_debug
else
'release '
)],
shell
=
True
)
if
os
.
environ
[
'TAPASCO_PLATFORM'
]
is
'vc709'
:
print
'cd '
+
moddir
+
' && make '
+
(
'DEBUG_VERBOSE=y '
if
driver_debug
else
' '
)
subprocess
.
call
([
'cd '
+
moddir
+
' && make '
+
(
'DEBUG_VERBOSE=y '
if
driver_debug
else
' '
)],
shell
=
True
)
else
:
subprocess
.
call
([
'cd '
+
moddir
+
' && make '
+
(
''
if
driver_debug
else
'release '
)],
shell
=
True
)
subprocess
.
call
([
'mkdir -p '
+
pdir
+
' && cd '
+
pdir
+
' && cmake '
+
(
''
if
debug
else
'-DCMAKE_BUILD_TYPE=Release'
)
+
' .. && make && make install'
],
shell
=
True
)
subprocess
.
call
([
'mkdir -p '
+
adir
+
' && cd '
+
adir
+
' && cmake '
+
(
''
if
debug
else
'-DCMAKE_BUILD_TYPE=Release'
)
+
' .. && make && make install'
],
shell
=
True
)
subprocess
.
call
([
'mkdir -p '
+
tdir
+
' && cd '
+
tdir
+
' && cmake '
+
(
''
if
debug
else
'-DCMAKE_BUILD_TYPE=Release'
)
+
' .. && make && make install'
],
shell
=
True
)
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
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