Sigil OS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
sigil/overlay/openssl/genode.patch

45 lines
1.6 KiB

--- a/Configurations/10-main.conf 2021-03-25 08:28:38.000000000 -0500
+++ b/Configurations/10-main.conf 2022-04-24 14:10:45.424394509 -0500
@@ -1567,6 +1567,42 @@
perlasm_scheme => "ios64",
},
+##### Genode
+ "genode-generic32" => {
+ inherit_from => [ "BASE_unix" ],
+ CC => "cc",
+ CFLAGS => picker(default => "-Wall",
+ debug => "-O0 -g",
+ release => "-O3"),
+ cflags => threads("-pthread"),
+ cppflags => threads("-D_THREAD_SAFE -D_REENTRANT"),
+ bn_ops => "BN_LLONG",
+ thread_scheme => "pthreads",
+ dso_scheme => "dlfcn",
+ shared_target => "bsd-shared",
+ shared_cflag => "-fPIC",
+ shared_extension => ".so",
+ perlasm_scheme => "elf",
+ },
+ "genode-generic64" => {
+ inherit_from => [ "genode-generic32" ],
+ bn_ops => "SIXTY_FOUR_BIT_LONG",
+ },
+
+ "genode-x86_32" => {
+ inherit_from => [ "genode-generic32", asm("x86_asm") ],
+ lib_cppflags => add("-DL_ENDIAN"),
+ bn_ops => "BN_LLONG",
+ },
+ "genode-x86_64" => {
+ inherit_from => [ "genode-generic64", asm("x86_64_asm") ],
+ lib_cppflags => add("-DL_ENDIAN"),
+ bn_ops => "SIXTY_FOUR_BIT_LONG",
+ },
+ "genode-aarch64" => {
+ inherit_from => [ "genode-generic64", asm("aarch64_asm") ],
+ },
+
##### GNU Hurd
"hurd-x86" => {
inherit_from => [ "BASE_unix" ],