|
@@ -1,74 +1,77 @@
|
|
|
{
|
|
|
- "Name":"k8cpu",
|
|
|
- "Program": "9k8cpu",
|
|
|
- "Include":["core.json", "../386/386.json", "../ip/ip.json", "../port/port.json"],
|
|
|
+ "Env": [
|
|
|
+ "CONF=k8cpu"
|
|
|
+ ],
|
|
|
+ "Include": [
|
|
|
+ "core.json",
|
|
|
+ "../386/386.json",
|
|
|
+ "../ip/ip.json",
|
|
|
+ "../port/port.json"
|
|
|
+ ],
|
|
|
+ "Name": "k8cpu",
|
|
|
+ "Pre": [
|
|
|
+ "cp ../../../../rc/lib/rcmain rcmain",
|
|
|
+ "data2c _rc_lib_rcmain rcmain \u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/rc/rc.elf.out rc.elf.out",
|
|
|
+ "strip rc.elf.out",
|
|
|
+ "data2c _amd64_bin_rc rc.elf.out \u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/bind.elf.out bind.elf.out",
|
|
|
+ "strip bind.elf.out",
|
|
|
+ "data2c _amd64_bin_bind bind.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/mount.elf.out mount.elf.out",
|
|
|
+ "strip mount.elf.out",
|
|
|
+ "data2c _amd64_bin_mount mount.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/echo.elf.out echo.elf.out",
|
|
|
+ "strip echo.elf.out",
|
|
|
+ "data2c _amd64_bin_echo echo.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/cat.elf.out cat.elf.out",
|
|
|
+ "strip cat.elf.out",
|
|
|
+ "data2c _amd64_bin_cat cat.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/cp.elf.out cp.elf.out",
|
|
|
+ "strip cp.elf.out",
|
|
|
+ "data2c _amd64_bin_cp cp.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/ls.elf.out ls.elf.out",
|
|
|
+ "strip ls.elf.out",
|
|
|
+ "data2c _amd64_bin_ls ls.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/ip/ipconfig/ipconfig.elf.out ipconfig.elf.out",
|
|
|
+ "strip ipconfig.elf.out",
|
|
|
+ "data2c _amd64_bin_ipconfig ipconfig.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/ip/ping.elf.out ping.elf.out",
|
|
|
+ "strip ping.elf.out",
|
|
|
+ "data2c _amd64_bin_ping ping.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/srv.elf.out srv.elf.out",
|
|
|
+ "strip srv.elf.out",
|
|
|
+ "data2c _amd64_bin_srv srv.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/ps.elf.out ps.elf.out",
|
|
|
+ "strip ps.elf.out",
|
|
|
+ "data2c _amd64_bin_ps ps.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/mkdir.elf.out mkdir.elf.out",
|
|
|
+ "strip mkdir.elf.out",
|
|
|
+ "data2c _amd64_bin_mkdir mkdir.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/pwd.elf.out pwd.elf.out",
|
|
|
+ "strip pwd.elf.out",
|
|
|
+ "data2c _amd64_bin_pwd pwd.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/chmod.elf.out chmod.elf.out",
|
|
|
+ "strip chmod.elf.out",
|
|
|
+ "data2c _amd64_bin_chmod chmod.elf.out\u003e\u003e k8cpu.root.c",
|
|
|
+ "cp ../../cmd/date.elf.out date.elf.out",
|
|
|
+ "strip date.elf.out",
|
|
|
+ "data2c _amd64_bin_date date.elf.out\u003e\u003e k8cpu.root.c"
|
|
|
+ ],
|
|
|
+ "Program": "9k8cpu",
|
|
|
"Projects": [
|
|
|
- "/sys/src/cmd/rc/kernel.json"
|
|
|
+ "/sys/src/cmd/rc/kernel.json"
|
|
|
],
|
|
|
- "Pre": [
|
|
|
- "cp ../../../../rc/lib/rcmain rcmain",
|
|
|
- "data2c _rc_lib_rcmain rcmain >> k8cpu.root.c",
|
|
|
- "cp ../../cmd/rc/rc.elf.out rc.elf.out",
|
|
|
- "strip rc.elf.out",
|
|
|
- "data2c _amd64_bin_rc rc.elf.out >> k8cpu.root.c",
|
|
|
- "cp ../../cmd/bind.elf.out bind.elf.out",
|
|
|
- "strip bind.elf.out",
|
|
|
- "data2c _amd64_bin_bind bind.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/mount.elf.out mount.elf.out",
|
|
|
- "strip mount.elf.out",
|
|
|
- "data2c _amd64_bin_mount mount.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/echo.elf.out echo.elf.out",
|
|
|
- "strip echo.elf.out",
|
|
|
- "data2c _amd64_bin_echo echo.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/cat.elf.out cat.elf.out",
|
|
|
- "strip cat.elf.out",
|
|
|
- "data2c _amd64_bin_cat cat.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/cp.elf.out cp.elf.out",
|
|
|
- "strip cp.elf.out",
|
|
|
- "data2c _amd64_bin_cp cp.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/ls.elf.out ls.elf.out",
|
|
|
- "strip ls.elf.out",
|
|
|
- "data2c _amd64_bin_ls ls.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/ip/ipconfig/ipconfig.elf.out ipconfig.elf.out",
|
|
|
- "strip ipconfig.elf.out",
|
|
|
- "data2c _amd64_bin_ipconfig ipconfig.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/ip/ping.elf.out ping.elf.out",
|
|
|
- "strip ping.elf.out",
|
|
|
- "data2c _amd64_bin_ping ping.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/srv.elf.out srv.elf.out",
|
|
|
- "strip srv.elf.out",
|
|
|
- "data2c _amd64_bin_srv srv.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/ps.elf.out ps.elf.out",
|
|
|
- "strip ps.elf.out",
|
|
|
- "data2c _amd64_bin_ps ps.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/mkdir.elf.out mkdir.elf.out",
|
|
|
- "strip mkdir.elf.out",
|
|
|
- "data2c _amd64_bin_mkdir mkdir.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/pwd.elf.out pwd.elf.out",
|
|
|
- "strip pwd.elf.out",
|
|
|
- "data2c _amd64_bin_pwd pwd.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/chmod.elf.out chmod.elf.out",
|
|
|
- "strip chmod.elf.out",
|
|
|
- "data2c _amd64_bin_chmod chmod.elf.out>> k8cpu.root.c",
|
|
|
- "cp ../../cmd/date.elf.out date.elf.out",
|
|
|
- "strip date.elf.out",
|
|
|
- "data2c _amd64_bin_date date.elf.out>> k8cpu.root.c"
|
|
|
- ],
|
|
|
- "SourceFiles":[
|
|
|
- "cga.c",
|
|
|
- "devacpi.c",
|
|
|
- "devusb.c",
|
|
|
- "ether8139.c",
|
|
|
- "ether82563.c",
|
|
|
- "k8cpu.c",
|
|
|
- "k8cpu.root.c",
|
|
|
- "usbehcipc.c",
|
|
|
- "usbohci.c",
|
|
|
- "usbuhci.c"
|
|
|
- ],
|
|
|
- "Env": [
|
|
|
- "CONF=k8cpu"
|
|
|
- ]
|
|
|
-
|
|
|
+ "SourceFiles": [
|
|
|
+ "cga.c",
|
|
|
+ "devacpi.c",
|
|
|
+ "devusb.c",
|
|
|
+ "ether8139.c",
|
|
|
+ "ether82563.c",
|
|
|
+ "k8cpu.c",
|
|
|
+ "k8cpu.root.c",
|
|
|
+ "usbehcipc.c",
|
|
|
+ "usbohci.c",
|
|
|
+ "usbuhci.c"
|
|
|
+ ]
|
|
|
}
|
|
|
-
|