coreboot-kgpe-d16/util/lint/Makefile
Martin Roth adaab4a97e util: Add SPDX license headers to Makefiles
Signed-off-by: Martin Roth <gaumless@gmail.com>
Change-Id: I7cf35132df0bc23f7b6f78014ddd72d58ea2ab8a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2022-11-22 12:47:09 +00:00

7 lines
185 B
Makefile

## SPDX-License-Identifier: GPL-2.0-only
sort: sort-spelling.txt
sort-%: %
csplit --prefix $<- $< '/^$$/'
LC_ALL="en_US.UTF-8" LANG= sort -u $<-01 | cat $<-00 - > $<
rm -f $<-0[01]