From f0b09ae9ad9cf34988da09dfc0cc51dcd29d3dda Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 12 Jul 2004 01:28:10 +0000 Subject: [PATCH] don't barf if Modules.symvers doesn't exist --- m4/as-modtool.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2