#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2009-2016 Wind River Systems, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
# Basic sanity checks on the kernel fragments, i.e. whether a BSP
# is setting things it shouldn't, whether things are redefined,
# and whether what you asked for is what you got.
# For consistent behaviour with "grep -w"
LC_ALL=C
export LC_ALL
usage() {
cat << EOF
kconf_check [--help] [--report] [--meta
] [--artifacts