Rename plat/linux/libsys/errno.s to plat/linux386/libsys/trapno.s and stop building it for linux68k and linuxppc. It defines symbols for mach/i386/libem. In syscalls.h, the numbers after 165 are only for i386, so hide them from 68k, ppc. These numbers are unused, because the system calls now in libsys use the lower numbers. Also teach the build system that libsys depends on the internal headers in plat/linux/libsys/*.h
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| acklibrary {
 | |
|     name = "lib",
 | |
|     srcs = {
 | |
|         "./*.s",
 | |
|         "plat/linux/libsys/*.c",
 | |
|         "plat/linux/libsys/*.s",
 | |
|     },
 | |
| 	deps = {
 | |
| 		"plat/linux/libsys/*.h",
 | |
| 		"lang/cem/libcc.ansi/headers+headers",
 | |
| 		"plat/linux386/include+headers",
 | |
| 	},
 | |
|     vars = {
 | |
|         plat = "linux386"
 | |
|     }
 | |
| }
 | |
| 
 |