diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-27 23:26:44 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-06-27 23:26:44 +0300 |
commit | a976c2951d8f376112361830aa7762beff83a205 (patch) | |
tree | 24f6647aedd4b570cb67f3195962f5c8a040c824 /Kbuild | |
parent | 83848fbe7e6af978c080a88c130a67178b1ac0e4 (diff) | |
parent | 16b9951f656ea8f2b47546bd898325a7e256932f (diff) | |
download | linux-a976c2951d8f376112361830aa7762beff83a205.tar.xz |
Merge back ACPICA material for v4.13.
Diffstat (limited to 'Kbuild')
-rw-r--r-- | Kbuild | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -7,31 +7,6 @@ # 4) Check for missing system calls # 5) Generate constants.py (may need bounds.h) -# Default sed regexp - multiline due to syntax constraints -define sed-y - "/^->/{s:->#\(.*\):/* \1 */:; \ - s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \ - s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \ - s:->::; p;}" -endef - -# Use filechk to avoid rebuilds when a header changes, but the resulting file -# does not -define filechk_offsets - (set -e; \ - echo "#ifndef $2"; \ - echo "#define $2"; \ - echo "/*"; \ - echo " * DO NOT MODIFY."; \ - echo " *"; \ - echo " * This file was generated by Kbuild"; \ - echo " */"; \ - echo ""; \ - sed -ne $(sed-y); \ - echo ""; \ - echo "#endif" ) -endef - ##### # 1) Generate bounds.h |