objtool: Skip samples subdirectory
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 20 Jan 2020 18:14:09 +0000 (12:14 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 22 Jan 2020 06:55:02 +0000 (07:55 +0100)
The code in the 'samples' subdirectory isn't part of the kernel, so
there's no need to validate it.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/c4cb4ef635ec606454ab834cb49fc3e9381fb1b1.1579543924.git.jpoimboe@redhat.com
samples/Makefile

index 5ce50ef0f2b2eed9b48ec06aba1202afd3f0e515..f8f847b4f61f55d482b46cac2c1cebf3bc79f978 100644 (file)
@@ -1,5 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 # Makefile for Linux samples code
+OBJECT_FILES_NON_STANDARD := y
 
 obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS)  += binderfs/
 obj-$(CONFIG_SAMPLE_CONFIGFS)          += configfs/