From: Frank Mori Hess Date: Mon, 12 Jul 2004 01:28:10 +0000 (+0000) Subject: don't barf if Modules.symvers doesn't exist X-Git-Tag: r0_7_69~27 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0b09ae9ad9cf34988da09dfc0cc51dcd29d3dda;p=comedi.git don't barf if Modules.symvers doesn't exist --- diff --git a/m4/as-modtool.m4 b/m4/as-modtool.m4 index 9c417b49..7d529671 100644 --- a/m4/as-modtool.m4 +++ b/m4/as-modtool.m4 @@ -89,8 +89,8 @@ case \$mode in echo \$LINUX_LD -r -o .mods/\$target.o \$[*] \$LINUX_LD -r -o .mods/\$target.o \$[*] - echo "cat \$LINUX_DIR/Module.symvers \$SYMVERS_INCLUDES >.mods/symvers.tmp" - cat \$LINUX_DIR/Module.symvers \$SYMVERS_INCLUDES >.mods/symvers.tmp + echo "cat \$LINUX_DIR/Module.symvers \$SYMVERS_INCLUDES >.mods/symvers.tmp || touch .mods/symvers.tmp" + cat \$LINUX_DIR/Module.symvers \$SYMVERS_INCLUDES >.mods/symvers.tmp || touch .mods/symvers.tmp echo "\$LINUX_MODPOST -o .mods/\$target.o.symvers.tmp -i .mods/symvers.tmp \$target.o" \$LINUX_MODPOST -o .mods/\$target.o.symvers.tmp -i .mods/symvers.tmp .mods/\$target.o