Commit c038c52
committed
linux-qcom-next: introduce KBUILD_CONFIG_EXTRA for in-tree kernel configs
Currently, CONFIG_LIST lists both in-tree kernel config fragments as well as
external *.cfg files provided via SRC_URI. Mixing these makes it harder to
control which fragments are applied internally versus externally.
Introduce a new variable, KBUILD_CONFIG_EXTRA, aligned with Kbuild naming
conventions to handle internal kernel configuration fragments such as
hardening.config. External fragments remain controlled through SRC_URI,
so no separate list is needed for those.
The do_configure step now merges:
- Base defconfig from arch/${ARCH}/configs
- External fragments from find_cfgs(d)
- In-tree fragments from KBUILD_CONFIG_EXTRA
Signed-off-by: Viswanath Kraleti <[email protected]>1 parent da8de36 commit c038c52
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
0 commit comments