summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-09 19:51:32 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-10 16:26:57 -0600
commit3d3eed2d844a6e8331c7bbc6388284d41fa53ff4 (patch)
treea9a9f431b1180c9b7c50c77d5d053846f5e19eaf /build-aux
parent9bdda7728a2aabe294567f816f5bfa0e031c1e90 (diff)
.editorconfig: Tidy, move linux-errno.txt.gen
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/linux-errno.txt.gen17
1 files changed, 0 insertions, 17 deletions
diff --git a/build-aux/linux-errno.txt.gen b/build-aux/linux-errno.txt.gen
deleted file mode 100755
index f94178f..0000000
--- a/build-aux/linux-errno.txt.gen
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-# build-aux/linux-errno.txt.gen - Generate a listing of Linux kernel errnos
-#
-# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
-# SPDX-License-Identifier: AGPL-3.0-or-later
-
-set -e
-linux_git=${1:?}
-outfile=${2:?}
-
-(
- cd "${linux_git}"
- echo "# ${outfile} - Generated from $0 and linux.git $(git describe). DO NOT EDIT!"
- git ls-files include/uapi/ | grep errno |
- xargs sed -nE 's,#\s*define\s+(E[A-Z0-9]+)\s+([0-9]+)\s+/\* (.*) \*/,\2 \1 \3,p' |
- sort --numeric-sort
-) >"${outfile}"