瀏覽代碼

Better syscall building mechanism

Eric Andersen 25 年之前
父節點
當前提交
f8c4b3ad2f
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      libc/sysdeps/linux/i386/Makefile

+ 1 - 2
libc/sysdeps/linux/i386/Makefile

@@ -26,8 +26,7 @@ LIBC=$(TOPDIR)libc.a
 ASFLAGS=$(CFLAGS)
 
 ASMSRC=syscalls.S
-#The file makefile.objs defines $(ASMOBJS)
-include makefile.objs
+ASMOBJS=$(shell ./list_syscalls.sh)
 
 SSRC=_start.S setjmp.S longjmp.S #fork.S #clone.S
 SOBJS=$(patsubst %.S,%.o, $(SSRC))