Files
dockerized-bb/toolchains/ps3/Dockerfile.m4
T
Le Philousophe c66f0460ce ALL: Add fribidi library
PSP don't get it as it should get several other libraries too
RiscOS don't get it because no worker exists yet to test it
2020-05-01 15:20:37 +00:00

69 lines
1.5 KiB
Docker

FROM toolchains/common AS helpers
m4_include(`paths.m4')m4_dnl
m4_include(`packages.m4')m4_dnl
FROM debian:stable-slim
USER root
WORKDIR /usr/src
# Copy and execute each step separately to avoid invalidating cache
COPY --from=helpers /lib-helpers/prepare.sh lib-helpers/
RUN lib-helpers/prepare.sh
COPY --from=helpers /lib-helpers/functions.sh lib-helpers/
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
autoconf \
automake \
bison \
flex \
gcc \
libelf-dev \
make \
texinfo \
libncurses5-dev \
patch \
python \
subversion \
wget \
zlib1g-dev \
libtool-bin \
python-dev \
bzip2 \
libgmp-dev \
pkg-config \
ca-certificates \
g++ \
libssl-dev \
xz-utils && \
rm -rf /var/lib/apt/lists/*
ENV PS3DEV=/usr/local/ps3dev
ENV PSL1GHT=$PS3DEV
local_package(toolchain)
local_package(sdl_psl1ght)
# Define everything now because toolchain and sdl_psl1ght handle everything themselves already
ENV HOST=powerpc64-ps3-elf PREFIX=$PS3DEV/portlibs/ppu
# We add PATH here for *-config and platform specific binaries
ENV \
def_binaries(`${PS3DEV}/ppu/bin/${HOST}-', `ar, as, c++filt, ld, nm, objcopy, objdump, ranlib, readelf, strings, strip') \
def_binaries(`${PS3DEV}/ppu/bin/${HOST}-', `gcc, cpp, c++') \
CC=${PS3DEV}/ppu/bin/${HOST}-gcc \
def_aclocal(`${PREFIX}') \
def_pkg_config(`${PREFIX}') \
PATH=$PATH:${PS3DEV}/bin:${PS3DEV}/ppu/bin:${PS3DEV}/spu/bin:${PS3DEV}/portlibs/ppu/bin
helpers_package(mpeg2dec)
helpers_package(a52dec)
helpers_package(fribidi)