Commit 52b5e35
committed
Fix build system issues
This addresses the following critical build system issues:
1. Kconfig syntax error
- Replace unsupported $(success,...) with Kconfiglib's $(shell,...)
- Use 'def_bool $(shell,pkg-config --exists ... && echo y)' for
dependency detection
2. Mixed target check logic
- Change from "any goal matches" to "all goals match" logic
- Use filter-out to verify all goals are known before including
dependencies
- Prevents build failures with mixed known/unknown targets
3. Multi-target invocation
- Invert logic to only skip mk/common.mk for pure config/defconfig
- Support mixed invocations like 'make defconfig all'
- Handle empty goals (default to 'all')1 parent 2e75289 commit 52b5e35
3 files changed
+18
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
183 | 187 | | |
| 188 | + | |
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
681 | 681 | | |
682 | 682 | | |
683 | 683 | | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
688 | 689 | | |
689 | 690 | | |
690 | 691 | | |
| |||
0 commit comments