Skip to contentSkip to conversation

objtool: doc: Fix one-file exception Makefile directive

PATCH In review Raphael Gault 2 participants 2 messages May 14, 2019 objtool

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 objtool: doc: Fix one-file exception Makefile directive

The directive specified in the documentation to add an exception for a single file in a Makefile was inverted.

---
 tools/objtool/Documentation/stack-validation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/Documentation/stack-validation.txt +1 -1
index 3995735a878f..cd17ee022072 100644
@@ -306,7 +306,7 @@ ignore it:
 
 - To skip validation of a file, add
 
-    OBJECT_FILES_NON_STANDARD_filename.o := n
+    OBJECT_FILES_NON_STANDARD_filename.o := y
 
   to the Makefile.
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 13 lines · Raphael Gault

The directive specified in the documentation to add an exception for a single file in a Makefile was inverted.

---
 tools/objtool/Documentation/stack-validation.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/Documentation/stack-validation.txt +0 -0
index 3995735a878f..cd17ee022072 100644

tools/objtool/Documentation/stack-validation.txt ignore it: · line 311

Quoted 7 lines
tools/objtool/Documentation/stack-validation.txt +1 -1
@@ -306,7 +306,7 @@ ignore it:
 
 - To skip validation of a file, add
 
-    OBJECT_FILES_NON_STANDARD_filename.o := n
+    OBJECT_FILES_NON_STANDARD_filename.o := y
 
   to the Makefile.

Thanks Raphael. I will send it along to -tip.

Signature · 1 line
Josh