Commit a68a626
committed
devices: simplify Makefile
When the SEV or TDX environment variables are 1, we set BUILD_INIT to 0.
Unless BUILD_INIT is 1, we don't actually build the init binary, which
is the only part of the Makefile that uses INIT_DEFS and INIT_SRC. As
such, there seems to be no point in setting both INIT_DEFS and INIT_SRC
from the code paths used when SEV or TDX are 1.
Remove these assignments. That in turn also allows us to remove the
KBS_INIT_SRC, KBS_LD_FLAGS, and SNP_INIT_SRC variables. TDX_INIT_SRC
seems to have been unused all along.
Signed-off-by: Daniel Müller <deso@posteo.net>1 parent 5597c96 commit a68a626
1 file changed
Lines changed: 1 addition & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 9 | | |
21 | 10 | | |
22 | 11 | | |
| |||
30 | 19 | | |
31 | 20 | | |
32 | 21 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 22 | | |
37 | 23 | | |
38 | 24 | | |
39 | 25 | | |
40 | 26 | | |
41 | 27 | | |
42 | 28 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 29 | + | |
47 | 30 | | |
48 | 31 | | |
49 | 32 | | |
50 | 33 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 34 | | |
55 | 35 | | |
56 | 36 | | |
| |||
0 commit comments