Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
4f1110f7
Commit
4f1110f7
authored
Jun 17, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: Create a report directory at each iteration
Also now there will be no garbage (temporary directories) when executing DIRECT_TARGETS.
parent
6777e4ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
Makefile
Makefile
+5
-11
No files found.
Makefile
View file @
4f1110f7
...
...
@@ -19,12 +19,6 @@ export ARCHES ARCH
export
PATH
:=
$(CURDIR)
/bin:
$(PATH)
# supervise target tracing; leave stderr alone
ifdef
REPORT
export
REPORT_PATH
:=
$(
shell
mktemp
--tmpdir
mkimage-profiles.report.XXXXXXX
)
POSTPROC
:=
| report-filter
>
$(REPORT_PATH)
endif
# recursive make considered useful for m-p
MAKE
+=
-r
--no-print-directory
...
...
@@ -62,12 +56,12 @@ SHELL = /bin/bash
fi
;
\
say
"** ARCH:
$$
ARCH"
;
\
fi
;
\
if
$(MAKE)
-f
main.mk
ARCH
=
$$
ARCH
$@
$(POSTPROC)
;
then
\
if
[
-n
"
$(REPORT)
"
]
;
then
\
$(MAKE)
-f
reports.mk
ARCH
=
$$
ARCH
REPORT
=
$(REPORT)
;
\
fi
;
\
if
[
-n
"
$(REPORT)
"
]
;
then
\
REPORT_PATH
=
$$
(
mktemp
--tmpdir
mkimage-profiles.report.XXXXXXX
)
;
\
$(MAKE)
-f
main.mk
ARCH
=
$$
ARCH
$@
| report-filter
>
$$
REPORT_PATH
||
exit
1
;
\
$(MAKE)
-f
reports.mk
ARCH
=
$$
ARCH
REPORT
=
$(REPORT)
REPORT_PATH
=
$$
REPORT_PATH
;
\
else
\
exit
1
;
\
$(MAKE)
-f
main.mk
ARCH
=
$$
ARCH
$@
||
exit
1
;
\
fi
;
\
if
[
-n
"
$(AUTOCLEAN)
"
]
;
then
$(MAKE)
distclean
;
fi
;
\
done
;
\
...
...
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