coreboot-kgpe-d16/util/lint/lint-stable-010-asm-syntax

16 lines
335 B
Bash
Executable File

#!/usr/bin/env sh
#
# SPDX-License-Identifier: GPL-2.0-only
# DESCR: Check that we use a single assembler syntax
LINTDIR="$(
cd -- "$(dirname "$0")" > /dev/null 2>&1 || return
pwd -P
)"
# shellcheck source=helper_functions.sh
. "${LINTDIR}/helper_functions.sh"
${GREP_FILES} -n "\.\(att\|intel\)_syntax\>" | grep -v '\.patch:'