24 lines
906 B
Python
24 lines
906 B
Python
version = "12.2.0"
|
|
revision = 1
|
|
metadata = meta(
|
|
description = "Modern, secure, portable, multiprotocol bootloader and boot manager",
|
|
license = "BSD-2-Clause",
|
|
website = "https://limine-bootloader.org"
|
|
)
|
|
source = tarball_source(
|
|
url = f"https://github.com/Limine-Bootloader/Limine/releases/download/v{version}/limine-{version}.tar.gz",
|
|
sha256 = "db8a119878cfeead63c0a78236c577c40539c5759496950ea0ed32a6cf567865",
|
|
strip_components = 1,
|
|
)
|
|
host_deps = ["binutils", "gcc"]
|
|
deps = [options.libc]
|
|
|
|
build_if = options.target_arch in ["x86_64", "aarch64", "riscv64", "loongarch64"]
|
|
|
|
configure, build, install = autotools(configure_env = {
|
|
"TOOLCHAIN_FOR_TARGET": options.target_triple + "-",
|
|
"LD_FOR_TARGET": options.target_triple + "-" + "ld",
|
|
"OBJCOPY_FOR_TARGET": options.target_triple + "-" + "objcopy",
|
|
"OBJDUMP_FOR_TARGET": options.target_triple + "-" + "objdump",
|
|
})
|