GNOME Bugzilla – Bug 794824
openssl: Set openssl_platform for ARM linux
Last modified: 2018-04-17 19:21:57 UTC
For Linux platforms, the `openssl_platform` variable in `recipes/openssl.recipe` is set only for x86 and x86_64 architectures and anything else raises a `NotImplementedError`. We can set the platform for ARM linux based on openssl's config script (https://git.openssl.org/?p=openssl.git;a=blob;f=config;h=ce993021867a76368c73db5981dc3484e2d63dd1;hb=HEAD).
Created attachment 370317 [details] [review] openssl: set openssl_platform for ARM-based linux platforms
Review of attachment 370317 [details] [review]: ::: recipes/openssl.recipe @@ +67,3 @@ self.openssl_platform = 'linux-x86_64' + elif self.config.target_arch == Architecture.ARM: + self.openssl_platform = 'linux-generic32' our Architecture.ARM means ARMv6, so same default as ARMv7
Created attachment 371066 [details] [review] openssl: set openssl_platform for ARM Linux
Review of attachment 371066 [details] [review]: ::: recipes/openssl.recipe @@ +71,3 @@ + self.openssl_platform = 'linux-armv4' + elif self.config.target_arch == Architecture.ARMv7: + self.openssl_platform = 'linux-armv4' elif A or B:
Attachment 371066 [details] pushed as 24c24a8 - openssl: set openssl_platform for ARM Linux Seems like other parts of the same recipe follow the same style, so let's merge it as-is.