diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/feature.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/feature.sh b/tools/feature.sh new file mode 100755 index 0000000..f6c8934 --- /dev/null +++ b/tools/feature.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# This will generate the list of feature flags for implemented symbols. + +echo '/* DO NOT EDIT. This is auto-generated from feature.sh */' +nm ../regressions/ck_pr/validate/ck_pr_cas|cut -d ' ' -f 3|sed s/ck_pr/ck_f_pr/|awk '/^ck_f_pr/ {print "#define " toupper($1);}'|sort |