[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:
@@ -26,7 +26,7 @@ class Manifest:
|
||||
name="kernel", target="kernel")
|
||||
|
||||
self.init = self.__build_entry(modules,
|
||||
config.get("init", None))
|
||||
config.get("init", None), target="init")
|
||||
|
||||
self.panics = [self.__build_entry(modules, i, target="kernel")
|
||||
for i in config.get("panic", tuple())]
|
||||
|
||||
Reference in New Issue
Block a user