CONFIG_VMLINUX_VALIDATION is just the validation of the "noinstr" rules. That name is a misnomer, because now objtool actually does vmlinux validation for other reasons. Rename CONFIG_VMLINUX_VALIDATION to CONFIG_NOINSTR_VALIDATION.
Showing the changes to scripts (1 of 3 files). Show all
Unified · Split
| @@ -160,7 +160,7 @@ objtool_link() · 159 unmodified lines | ||
| 160 | 160 | objtoolopt="${objtoolopt} --lto" |
| 161 | 161 | fi |
| 162 | 162 | |
| 163 | − if is_enabled CONFIG_VMLINUX_VALIDATION; then | |
| 163 | + if is_enabled CONFIG_NOINSTR_VALIDATION; then | |
| 164 | 164 | objtoolopt="${objtoolopt} --noinstr" |
| 165 | 165 | fi |
| 166 | 166 | |