2002-05-12 Roland McGrath <roland@frob.com>
authorroland <roland>
Mon, 13 May 2002 01:48:01 +0000 (01:48 +0000)
committerroland <roland>
Mon, 13 May 2002 01:48:01 +0000 (01:48 +0000)
* mach/Makefile ($(mach-syscalls:%=$(objpfx)%.S)): Make the generated
files #include <sysdep.h> instead of <mach/machine/syscall_sw.h>.

mach/Makefile

index a4e4c07..cf274ce 100644 (file)
@@ -96,8 +96,8 @@ ifndef mach-syscalls
 no_deps=t
 else
 $(mach-syscalls:%=$(objpfx)%.S): $(objpfx)%.S: $(objpfx)mach-syscalls.mk
-       (echo '#include <mach/machine/syscall_sw.h>'; \
-        echo 'kernel_trap(__$*,$(sysno-$*),$(nargs-$*))'; \
+       (echo '#include <sysdep.h>'; \
+        echo 'kernel_trap (__$*,$(sysno-$*),$(nargs-$*))'; \
         echo 'weak_alias (__$*, $*)') > $@-new
         mv -f $@-new $@
 generated += $(mach-syscalls:=.S)