Commit 4f2083a
regression: Smart construction/configuration of TARGETS
It makes:
1. Default target list is easier to read and to reconfigure
by splitting target bases and code models.
2. TARGETS is now configurable through external environment variable
(not just as a make argument), which makes TARGETS consistent with
RUNTESTFLAGS.
Because `TARGETS = ...` is used inside the Makefile, we could configure
targets to perform regression tests with `make report TARGETS='...'` but
not `TARGETS='...' make report`. This semantics is inconsistent with e.g.
RUNTESTFLAGS as shown in README.md.
This commit now uses `?=` to respect environment variable TARGETS
given from outside, making `TARGETS='...' make report` usable.
Also, this commit changes how default target list is constructed.
It splits target bases and code models and each is reconfigurable through
make arguments (like `make report TARGET_CODE_MODELS=medlow`).
Note that TARGET_BASES and TARGET_CODE_MODELS are chosen so that no
submodules use those Make variables and are ignored when the variable
`TARGETS` is explicitly configured.1 parent b8ca156 commit 4f2083a
1 file changed
+16
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
32 | 21 | | |
33 | 22 | | |
34 | 23 | | |
| |||
0 commit comments