summaryrefslogtreecommitdiffstats
path: root/make_offsets.sh
blob: c4eb1c5010aa8b41f0d8b249145e76224fd0ca3e (plain)
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
OpenPOWER on IntegriCloud