mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 07:31:29 +00:00
fb9e53cce7
Based on 1 normalized pattern(s): gpl v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 19 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141333.108140152@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 lines
281 B
Bash
Executable File
17 lines
281 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
# check_cc.sh - Helper to test userspace compilation support
|
|
# Copyright (c) 2015 Andrew Lutomirski
|
|
|
|
CC="$1"
|
|
TESTPROG="$2"
|
|
shift 2
|
|
|
|
if "$CC" -o /dev/null "$TESTPROG" -O0 "$@" 2>/dev/null; then
|
|
echo 1
|
|
else
|
|
echo 0
|
|
fi
|
|
|
|
exit 0
|