aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/samples
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2020-01-20 12:14:09 -0600
committerIngo Molnar <mingo@kernel.org>2020-01-22 07:55:02 +0100
commit8728497895794d1f207a836e02dae762ad175d56 (patch)
tree716e633c3bd8be4920e3df00f644acc181de972e /samples
parentobjtool: Fix ARCH=x86_64 build error (diff)
downloadwireguard-linux-8728497895794d1f207a836e02dae762ad175d56.tar.xz
wireguard-linux-8728497895794d1f207a836e02dae762ad175d56.zip
objtool: Skip samples subdirectory
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
Diffstat (limited to 'samples')
-rw-r--r--samples/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/Makefile b/samples/Makefile
index 5ce50ef0f2b2..f8f847b4f61f 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -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/