diff options
Diffstat (limited to 'make_capabilities_h.sh')
-rwxr-xr-x | make_capabilities_h.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/make_capabilities_h.sh b/make_capabilities_h.sh deleted file mode 100755 index 635e740..0000000 --- a/make_capabilities_h.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -CC=$1 -[ -n "$TARGET_CC_NOCACHE" ] && CC=$TARGET_CC_NOCACHE - -echo "#include <linux/capability.h>" -echo "static const char *capabilities_names[] = {" -echo "#include <linux/capability.h>" | ${CC} -E -dM - | grep '#define CAP' | grep -vE '(CAP_TO|CAP_LAST_CAP)' | \ - awk '{print $3" "$2}' | sort -n | awk '{print " ["$1"]\t= \""tolower($2)"\","}' -echo "};" |