diff options
Diffstat (limited to 'linux/scripts/mod/.devicetable-offsets.h.cmd')
-rw-r--r-- | linux/scripts/mod/.devicetable-offsets.h.cmd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/scripts/mod/.devicetable-offsets.h.cmd b/linux/scripts/mod/.devicetable-offsets.h.cmd new file mode 100644 index 00000000..4922cb6b --- /dev/null +++ b/linux/scripts/mod/.devicetable-offsets.h.cmd @@ -0,0 +1 @@ +cmd_scripts/mod/devicetable-offsets.h := (set -e; echo "\#ifndef __DEVICETABLE_OFFSETS_H__"; echo "\#define __DEVICETABLE_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne "/^->/{s:->\#\(.*\):/* \1 */:; s:^->\([^ ]*\) [\$$\#]*\([-0-9]*\) \(.*\):\#define \1 \2 /* \3 */:; s:^->\([^ ]*\) [\$$\#]*\([^ ]*\) \(.*\):\#define \1 \2 /* \3 */:; s:->::; p;}" scripts/mod/devicetable-offsets.s; echo ""; echo "\#endif" ) > scripts/mod/devicetable-offsets.h |