Bonnibel will now build dynamic libraries when they're dependencies for non-statically linked modules. It will also copy those shared libraries into the initrd image for programs being copied into the image.
19 lines
421 B
Python
19 lines
421 B
Python
# vim: ft=python
|
|
|
|
init = module("srv.init",
|
|
targets = [ "init" ],
|
|
deps = [ "libc", "elf", "bootproto", "zstd" ],
|
|
static = True,
|
|
description = "Init server",
|
|
ld_script = "init.ld",
|
|
sources = [
|
|
"acpi.cpp",
|
|
"initfs.cpp",
|
|
"j6romfs.cpp",
|
|
"loader.cpp",
|
|
"main.cpp",
|
|
"modules.cpp",
|
|
"pci.cpp",
|
|
"service_locator.cpp",
|
|
"start.s",
|
|
]) |