Skip to content

Commit 72141ae

Browse files
authored
Update mbedtls patch for PS3 build scripts
1 parent 6a1a63d commit 72141ae

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

patches/mbedtls-2.28.10.patch

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -214,30 +214,6 @@ diff -Nru mbedtls-2.28.10-orig/library/net_sockets.c mbedtls-2.28.10/library/net
214214
}
215215
}
216216

217-
diff -Nru mbedtls-2.28.10-orig/library/ps3-build.sh mbedtls-2.28.10/library/ps3-build.sh
218-
--- mbedtls-2.28.10-orig/library/ps3-build.sh 1969-12-31 21:00:00
219-
+++ mbedtls-2.28.10/library/ps3-build.sh 2026-04-25 20:45:12
220-
@@ -0,0 +1,20 @@
221-
+#!/bin/sh -e
222-
+
223-
+echo "Please stand by..."
224-
+
225-
+export PS3DEV=$PSL1GHT
226-
+export CC=$PS3DEV/ppu/bin/powerpc64-ps3-elf-gcc
227-
+export LD=$PS3DEV/ppu/bin/powerpc64-ps3-elf-ld
228-
+export CPP=$PS3DEV/ppu/bin/powerpc64-ps3-elf-cpp
229-
+export CXX=$PS3DEV/ppu/bin/powerpc64-ps3-elf-g++
230-
+export AR=$PS3DEV/ppu/bin/powerpc64-ps3-elf-ar
231-
+export AS=$PS3DEV/ppu/bin/powerpc64-ps3-elf-as
232-
+export NM=$PS3DEV/ppu/bin/powerpc64-ps3-elf-nm
233-
+export CXXCPP=$PS3DEV/ppu/bin/powerpc64-ps3-elf-cpp
234-
+export RANLIB=$PS3DEV/ppu/bin/powerpc64-ps3-elf-ranlib
235-
+export LDFLAGS="-L$PS3DEV/ppu/powerpc64-ps3-elf/lib -L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib -lrt -llv2"
236-
+export CFLAGS="-I../include -I$PS3DEV/ppu/powerpc64-ps3-elf/include -I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include -mcpu=cell"
237-
+
238-
+echo "Build library..."
239-
+## Compile and install.
240-
+${MAKE:-make}
241217
diff -Nru mbedtls-2.28.10-orig/library/timing.c mbedtls-2.28.10/library/timing.c
242218
--- mbedtls-2.28.10-orig/library/timing.c 2025-03-24 08:49:00
243219
+++ mbedtls-2.28.10/library/timing.c 2026-04-25 20:02:39

0 commit comments

Comments
 (0)