Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
34b8a17c
Commit
34b8a17c
authored
Jan 19, 2018
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/build/autotools.py: add "subdir" parameter
parent
a53d081c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
autotools.py
python/build/autotools.py
+7
-1
No files found.
python/build/autotools.py
View file @
34b8a17c
...
...
@@ -8,6 +8,7 @@ class AutotoolsProject(MakeProject):
cppflags
=
''
,
ldflags
=
''
,
libs
=
''
,
subdirs
=
None
,
**
kwargs
):
MakeProject
.
__init__
(
self
,
url
,
md5
,
installed
,
**
kwargs
)
self
.
configure_args
=
configure_args
...
...
@@ -15,6 +16,7 @@ class AutotoolsProject(MakeProject):
self
.
cppflags
=
cppflags
self
.
ldflags
=
ldflags
self
.
libs
=
libs
self
.
subdirs
=
subdirs
def
configure
(
self
,
toolchain
):
src
=
self
.
unpack
(
toolchain
)
...
...
@@ -51,4 +53,8 @@ class AutotoolsProject(MakeProject):
def
build
(
self
,
toolchain
):
build
=
self
.
configure
(
toolchain
)
MakeProject
.
build
(
self
,
toolchain
,
build
)
if
self
.
subdirs
is
not
None
:
for
subdir
in
self
.
subdirs
:
MakeProject
.
build
(
self
,
toolchain
,
os
.
path
.
join
(
build
,
subdir
))
else
:
MakeProject
.
build
(
self
,
toolchain
,
build
)
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