summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-08-18 16:27:20 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-08-19 15:30:24 +0200
commit47354b440e90626c320d8f142cb742ff569e3a40 (patch)
treebbc3979599a3e15ead5460166c75c06e81777808 /tools
parentb4eaa6cc99d7fb68902c76115ca80c95165e6c4f (diff)
downloadsystemd-47354b440e90626c320d8f142cb742ff569e3a40.tar.gz
meson: add syscall-names-update target
The calls to find_program("tools/*") are moved earlier so they can be used in libshared/ (and it doesn't make sense to split them).
Diffstat (limited to 'tools')
-rwxr-xr-xtools/syscall-names-update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/syscall-names-update.sh b/tools/syscall-names-update.sh
new file mode 100755
index 0000000000..c884b93cda
--- /dev/null
+++ b/tools/syscall-names-update.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -eu
+
+cd "$1"
+
+curl -L -o syscall-names.text 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'