Lines 54-73
Link Here
|
54 |
cp regparm prototype/$OSSLIBDIR/build |
54 |
cp regparm prototype/$OSSLIBDIR/build |
55 |
|
55 |
|
56 |
# Regenerating the config file templates |
56 |
# Regenerating the config file templates |
57 |
rm -f /tmp/confgen |
57 |
rm -f ${T}/confgen |
58 |
if ! cc -o /tmp/confgen ./setup/Linux/confgen.c |
58 |
if ! cc -o ${T}/confgen ./setup/Linux/confgen.c |
59 |
then |
59 |
then |
60 |
echo Building confgen failed |
60 |
echo Building confgen failed |
61 |
exit 1 |
61 |
exit 1 |
62 |
fi |
62 |
fi |
63 |
|
63 |
|
64 |
if ! /tmp/confgen prototype/$OSSLIBDIR/conf.tmpl $OSSLIBDIR/conf kernel/drv/* kernel/nonfree/drv/* |
64 |
if ! ${T}/confgen prototype/$OSSLIBDIR/conf.tmpl $OSSLIBDIR/conf kernel/drv/* kernel/nonfree/drv/* |
65 |
then |
65 |
then |
66 |
echo Running confgen failed |
66 |
echo Running confgen failed |
67 |
exit 1 |
67 |
exit 1 |
68 |
fi |
68 |
fi |
69 |
|
69 |
|
70 |
rm -f /tmp/confgen |
70 |
rm -f ${T}/confgen |
71 |
|
71 |
|
72 |
cp -a $SRCDIR/include/* prototype/$OSSLIBDIR/include/sys/ |
72 |
cp -a $SRCDIR/include/* prototype/$OSSLIBDIR/include/sys/ |
73 |
cp $SRCDIR/kernel/framework/include/midiparser.h prototype/$OSSLIBDIR/include/ |
73 |
cp $SRCDIR/kernel/framework/include/midiparser.h prototype/$OSSLIBDIR/include/ |
Lines 108-131
Link Here
|
108 |
echo Check devices for $N |
108 |
echo Check devices for $N |
109 |
grep "^$N[ ]" ./devices.list >> devlist.txt |
109 |
grep "^$N[ ]" ./devices.list >> devlist.txt |
110 |
|
110 |
|
111 |
rm -f /tmp/ossman.txt |
111 |
rm -f ${T}/ossman.txt |
112 |
|
112 |
|
113 |
if test -f $SRCDIR/kernel/drv/$N/$N.man |
113 |
if test -f $SRCDIR/kernel/drv/$N/$N.man |
114 |
then |
114 |
then |
115 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/$N/$N.man > /tmp/ossman.txt |
115 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/$N/$N.man > ${T}/ossman.txt |
116 |
$SRCDIR/setup/txt2man -t "$CMD" -v "OSS Devices" -s 7 /tmp/ossman.txt|gzip -9 > prototype/usr/share/man/man7/$N.7.gz |
116 |
$SRCDIR/setup/txt2man -t "$CMD" -v "OSS Devices" -s 7 ${T}/ossman.txt|gzip -9 > prototype/usr/share/man/man7/$N.7.gz |
117 |
else |
117 |
else |
118 |
if test -f $SRCDIR/kernel/nonfree/drv/$N/$N.man |
118 |
if test -f $SRCDIR/kernel/nonfree/drv/$N/$N.man |
119 |
then |
119 |
then |
120 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/nonfree/drv/$N/$N.man > /tmp/ossman.txt |
120 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/nonfree/drv/$N/$N.man > ${T}/ossman.txt |
121 |
$SRCDIR/setup/txt2man -t "$CMD" -v "OSS Devices" -s 7 $SRCDIR/kernel/nonfree/drv/$N/$N.man|gzip -9 > prototype/usr/share/man/man7/$N.7.gz |
121 |
$SRCDIR/setup/txt2man -t "$CMD" -v "OSS Devices" -s 7 $SRCDIR/kernel/nonfree/drv/$N/$N.man|gzip -9 > prototype/usr/share/man/man7/$N.7.gz |
122 |
fi |
122 |
fi |
123 |
fi |
123 |
fi |
124 |
done |
124 |
done |
125 |
|
125 |
|
126 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/osscore/osscore.man > /tmp/ossman.txt |
126 |
sed "s:CONFIGFILEPATH:$OSSLIBDIR/conf:g" < $SRCDIR/kernel/drv/osscore/osscore.man > ${T}/ossman.txt |
127 |
$SRCDIR/setup/txt2man -t "osscore" -v "OSS Devices" -s 7 /tmp/ossman.txt|gzip -9 > prototype/usr/share/man/man7/osscore.7.gz |
127 |
$SRCDIR/setup/txt2man -t "osscore" -v "OSS Devices" -s 7 ${T}/ossman.txt|gzip -9 > prototype/usr/share/man/man7/osscore.7.gz |
128 |
rm -f /tmp/ossman.txt |
128 |
rm -f ${T}/ossman.txt |
129 |
|
129 |
|
130 |
# Link the optional NOREGPARM modules |
130 |
# Link the optional NOREGPARM modules |
131 |
if test -d noregparm |
131 |
if test -d noregparm |