arch/boot: disable build of aros-side grub executables for now to bring back nightly...
[AROS.git] / arch / all-linux / kernel / mksigcore.sh
blobecbf50832ac4ab05985896622dece0ef35e2c149
1 #!/bin/sh
3 sigcontextpath=/usr/include/bits/sigcontext.h
4 if [ ! -f $sigcontextpath ] ; then
5 sigcontextpath=/usr/include/${CPU}-linux-gnu/bits/sigcontext.h
6 if [ ! -f $sigcontextpath ] ; then
7 echo "Could not find bits/sigcontext.h"
8 exit 20
9 fi
12 type=`${CC} -D_SIGNAL_H -E ${sigcontextpath} | grep "^struct sigcontext" | sed 's/{//'`
13 handler=__sighandler_t
15 sed "s/@sigcontext@/$type/;s/@sighandler@/$handler/" ${1-.}/sigcore.h.${CPU}.src > ${2}