summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-microblaze/recipes-connectivity/openssl/openssl-microblaze.inc89
-rw-r--r--meta-microblaze/recipes-connectivity/openssl/openssl_3.0.5.bbappend4
2 files changed, 0 insertions, 93 deletions
diff --git a/meta-microblaze/recipes-connectivity/openssl/openssl-microblaze.inc b/meta-microblaze/recipes-connectivity/openssl/openssl-microblaze.inc
deleted file mode 100644
index 766c8eeb..00000000
--- a/meta-microblaze/recipes-connectivity/openssl/openssl-microblaze.inc
+++ /dev/null
@@ -1,89 +0,0 @@
1# Adjust for microblaze...
2do_configure () {
3 # When we upgrade glibc but not uninative we see obtuse failures in openssl. Make
4 # the issue really clear that perl isn't functional due to symbol mismatch issues.
5 cat <<- EOF > ${WORKDIR}/perltest
6 #!/usr/bin/env perl
7 use POSIX;
8 EOF
9 chmod a+x ${WORKDIR}/perltest
10 ${WORKDIR}/perltest
11
12 os=${HOST_OS}
13 case $os in
14 linux-gnueabi |\
15 linux-gnuspe |\
16 linux-musleabi |\
17 linux-muslspe |\
18 linux-musl )
19 os=linux
20 ;;
21 *)
22 ;;
23 esac
24 target="$os-${HOST_ARCH}"
25 case $target in
26 linux-arc | linux-microblaze*)
27 target=linux-latomic
28 ;;
29 linux-arm*)
30 target=linux-armv4
31 ;;
32 linux-aarch64*)
33 target=linux-aarch64
34 ;;
35 linux-i?86 | linux-viac3)
36 target=linux-x86
37 ;;
38 linux-gnux32-x86_64 | linux-muslx32-x86_64 )
39 target=linux-x32
40 ;;
41 linux-gnu64-x86_64)
42 target=linux-x86_64
43 ;;
44 linux-mips | linux-mipsel)
45 # specifying TARGET_CC_ARCH prevents openssl from (incorrectly) adding target architecture flags
46 target="linux-mips32 ${TARGET_CC_ARCH}"
47 ;;
48 linux-gnun32-mips*)
49 target=linux-mips64
50 ;;
51 linux-*-mips64 | linux-mips64 | linux-*-mips64el | linux-mips64el)
52 target=linux64-mips64
53 ;;
54 linux-nios2* | linux-sh3 | linux-sh4 | linux-arc*)
55 target=linux-generic32
56 ;;
57 linux-powerpc)
58 target=linux-ppc
59 ;;
60 linux-powerpc64)
61 target=linux-ppc64
62 ;;
63 linux-powerpc64le)
64 target=linux-ppc64le
65 ;;
66 linux-riscv32)
67 target=linux-generic32
68 ;;
69 linux-riscv64)
70 target=linux-generic64
71 ;;
72 linux-sparc | linux-supersparc)
73 target=linux-sparcv9
74 ;;
75 mingw32-x86_64)
76 target=mingw64
77 ;;
78 esac
79
80 useprefix=${prefix}
81 if [ "x$useprefix" = "x" ]; then
82 useprefix=/
83 fi
84 # WARNING: do not set compiler/linker flags (-I/-D etc.) in EXTRA_OECONF, as they will fully replace the
85 # environment variables set by bitbake. Adjust the environment variables instead.
86 HASHBANGPERL="/usr/bin/env perl" PERL=perl PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \
87 perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} ${DEPRECATED_CRYPTO_FLAGS} --prefix=$useprefix --openssldir=${libdir}/ssl-3 --libdir=${libdir} $target
88 perl ${B}/configdata.pm --dump
89}
diff --git a/meta-microblaze/recipes-connectivity/openssl/openssl_3.0.5.bbappend b/meta-microblaze/recipes-connectivity/openssl/openssl_3.0.5.bbappend
deleted file mode 100644
index 1f6f25cc..00000000
--- a/meta-microblaze/recipes-connectivity/openssl/openssl_3.0.5.bbappend
+++ /dev/null
@@ -1,4 +0,0 @@
1MICROBLAZEPATCHES = ""
2MICROBLAZEPATCHES:microblaze = "openssl-microblaze.inc"
3
4require ${MICROBLAZEPATCHES}