summaryrefslogtreecommitdiffstats
path: root/make_offsets.sh
blob: 0c480be035f114f8d48781762c9e8fe3cc5cd073 (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