From 057e88e58b57ea51fa4b95b46348b01dabba7b47 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 16 Jan 2015 16:05:52 +0000 Subject: [PATCH] syscall_6502: don't add exit to the Makefile twice --- Library/tools/syscall_6502.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/tools/syscall_6502.c b/Library/tools/syscall_6502.c index 5002bd6e..4ae15e87 100644 --- a/Library/tools/syscall_6502.c +++ b/Library/tools/syscall_6502.c @@ -47,7 +47,7 @@ static void write_makefile(void) fprintf(fp, "AR = ar65\n"); fprintf(fp, "ASYS = syscall.s\n", syscall_name[0]); fprintf(fp, "ASRCS = syscall_%s.s\n", syscall_name[i]); - for (i = 0; i < NR_SYSCALL; i++) + for (i = 1; i < NR_SYSCALL; i++) fprintf(fp, "ASRCS += syscall_%s.s\n", syscall_name[i]); fprintf(fp, "\n\nASRCALL = $(ASRCS) $(ASYS)\n"); fprintf(fp, "\nAOBJS = $(ASRCALL:.s=.o)\n\n"); -- 2.34.1