forked from semios/ports
feat: add linux kernel initramfs and related tools
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
+4
-3
@@ -1,5 +1,6 @@
|
||||
import typing
|
||||
import hashlib
|
||||
import os
|
||||
|
||||
from lib import arch
|
||||
|
||||
@@ -46,11 +47,11 @@ def builddep(s: str):
|
||||
_builddep += ["gnu-make", "gnu-sed", "awk", "grep"]
|
||||
elif s == "shortcut/rust":
|
||||
builddep("shortcut/c")
|
||||
_builddep += ["cargo", "rustc"]
|
||||
_builddep += ["cargo", "rust"]
|
||||
elif s == "shortcut/cmake":
|
||||
_builddep += ["cmake", "ninja"]
|
||||
_builddep += ["cmake", "ninja", "pkgconf"]
|
||||
elif s == "shortcut/meson":
|
||||
_builddep += ["meson", "ninja"]
|
||||
_builddep += ["meson", "ninja", "pkgconf"]
|
||||
else:
|
||||
_builddep += [s.replace("@target", f"@{arch.get_target()}")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user