mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[build] Move init to its own target
In order to allow -fpic and -fpie in the user target, move init to it's own target -- it needs its own special build rules to make it loadable by boot.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# vim: ft=python
|
||||
|
||||
init = module("srv.init",
|
||||
targets = [ "user" ],
|
||||
targets = [ "init" ],
|
||||
deps = [ "libc", "elf", "bootproto", "zstd" ],
|
||||
description = "Init server",
|
||||
ld_script = "init.ld",
|
||||
@@ -14,4 +14,4 @@ init = module("srv.init",
|
||||
"pci.cpp",
|
||||
"service_locator.cpp",
|
||||
"start.s",
|
||||
])
|
||||
])
|
||||
Reference in New Issue
Block a user