summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-27 23:26:44 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-27 23:26:44 +0300
commita976c2951d8f376112361830aa7762beff83a205 (patch)
tree24f6647aedd4b570cb67f3195962f5c8a040c824 /Kbuild
parent83848fbe7e6af978c080a88c130a67178b1ac0e4 (diff)
parent16b9951f656ea8f2b47546bd898325a7e256932f (diff)
downloadlinux-a976c2951d8f376112361830aa7762beff83a205.tar.xz
Merge back ACPICA material for v4.13.
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild25
1 files changed, 0 insertions, 25 deletions
diff --git a/Kbuild b/Kbuild
index 3d0ae152af7c..94c752762bc2 100644
--- a/Kbuild
+++ b/Kbuild
@@ -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