File: make_offsets.sh

package info (click to toggle)
skiboot 5.3.3-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 13,280 kB
  • ctags: 13,840
  • sloc: ansic: 77,199; asm: 1,002; sh: 997; cpp: 894; tcl: 408; makefile: 325; python: 166; pascal: 65
file content (10 lines) | stat: -rwxr-xr-x 159 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

cat <<EOF
#ifndef ASM_OFFSETS_H
#define ASM_OFFSETS_H
/* Derived from $1 by make_offsets.sh */

`grep '^#define' $1`
#endif /* ASM_OFFSETS_H */
EOF