-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for loongarch64 #1
base: la64/main
Are you sure you want to change the base?
Conversation
fwupd的efi模块,龙芯固件团队是要准备接入LVFS服务了吗? |
有这个想法,准备先把基础设施做了。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看上去不赖 👍
LVFS rocks 🚀 !
@@ -36,7 +36,7 @@ def _run_objcopy(args): | |||
|
|||
# aarch64 and arm32 don't have an EFI capable objcopy | |||
# Use 'binary' instead, and add required symbols manually | |||
if args.arch in ["aarch64", "arm"]: | |||
if args.arch in ["aarch64", "arm", "loongarch64"]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
上边那个注释更新一下,these arches don't have
@@ -150,7 +150,7 @@ efi_ldflags = ['-T', | |||
'-L', efi_crtdir, | |||
'-L', efi_libdir, | |||
join_paths(efi_crtdir, arch_crt)] | |||
if host_cpu == 'aarch64' or host_cpu == 'arm' | |||
if host_cpu == 'aarch64' or host_cpu == 'arm' or host_cpu == 'loongarch64' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if host_cpu == 'aarch64' or host_cpu == 'arm' or host_cpu == 'loongarch64' | |
if host_cpu in ['aarch64', 'arm', 'loongarch64'] |
@@ -0,0 +1,103 @@ | |||
OUTPUT_FORMAT("elf64-loongarch", "elf64-loongarch", "elf64-loongarch") | |||
OUTPUT_ARCH(loongarch) | |||
ENTRY(_start) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这文件哪抄的来着,gnu-efi?要等那边合并么?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是,基于同目录下的aarch64文件,改了开头2行
No description provided.