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
