[pci] Move PCIe and ACPI code to their own libs
This pulls them out of srv.init (and src/include where the kernel uses them) and puts them into their own libs for sharing.
This commit is contained in:
@@ -2,18 +2,17 @@
|
||||
|
||||
init = module("srv.init",
|
||||
targets = [ "init" ],
|
||||
deps = [ "libc", "elf", "bootproto", "zstd" ],
|
||||
deps = [ "libc", "elf", "bootproto", "zstd", "acpi", "pci" ],
|
||||
static = True,
|
||||
description = "Init server",
|
||||
ld_script = "init.ld",
|
||||
sources = [
|
||||
"acpi.cpp",
|
||||
"device_manager.cpp",
|
||||
"initfs.cpp",
|
||||
"j6romfs.cpp",
|
||||
"loader.cpp",
|
||||
"main.cpp",
|
||||
"modules.cpp",
|
||||
"pci.cpp",
|
||||
"service_locator.cpp",
|
||||
"start.s",
|
||||
])
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user