-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use submodules instead of sources and patches.
Signed-off-by: miigotu <[email protected]> Break out common variable and method code into a separate script
- Loading branch information
Showing
28 changed files
with
248 additions
and
13,986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
.git/ | ||
#.git/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Submodule Updater | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "submodules" | ||
|
||
jobs: | ||
Submodules: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 1 | ||
persist-credentials: false | ||
submodules: recursive | ||
- name: Checkout submodules | ||
uses: textbook/git-checkout-submodule-action@master | ||
with: | ||
remote: true | ||
- uses: EndBug/add-and-commit@v4 | ||
with: | ||
message: Update submodules | ||
add: src | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
build/ | ||
.idea/** | ||
*.patch | ||
*.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[submodule "newlib"] | ||
path = src/newlib-1.20.0 | ||
url = git://github.com/ps3dev/newlib-1.20.0-PS3.git | ||
shallow = true | ||
[submodule "binutils"] | ||
path = src/binutils-2.22 | ||
url = git://github.com/ps3dev/binutils-2.22-PS3.git | ||
shallow = true | ||
[submodule "PSL1GHT"] | ||
path = src/PSL1GHT | ||
url = git://github.com/ps3dev/PSL1GHT.git | ||
shallow = true | ||
[submodule "ps3libraries"] | ||
path = src/ps3libraries | ||
url = git://github.com/ps3dev/ps3libraries.git | ||
shallow = true | ||
[submodule "config"] | ||
path = src/config | ||
url = git://git.savannah.gnu.org/config.git | ||
shallow = true | ||
[submodule "gdb"] | ||
path = src/gdb-7.5.1 | ||
url = git://github.com/miigotu/gdb-7.5.1-PS3.git | ||
shallow = true | ||
[submodule "gcc"] | ||
path = src/gcc-PS3 | ||
url = git://github.com/ps3dev/gcc-PS3.git | ||
shallow = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
FROM ubuntu:xenial | ||
FROM ubuntu:latest | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV PS3DEV /usr/local/ps3dev | ||
ENV PSL1GHT ${PS3DEV} | ||
ENV PATH ${PATH}:${PS3DEV}/bin:${PS3DEV}/ppu/bin:${PS3DEV}/spu/bin | ||
|
||
ENV PSL1GHT /usr/local/ps3dev | ||
ENV PATH $PATH:/usr/local/ps3dev/bin:/usr/local/ps3dev/ppu/bin:/usr/local/ps3dev/spu/bin | ||
ENV PS3TOOLCHAIN /ps3_toolchain | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN \ | ||
apt-get -y update && \ | ||
apt-get -y install \ | ||
autoconf bison build-essential ca-certificates flex git libelf-dev\ | ||
libgmp-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev \ | ||
texinfo wget zlib1g-dev && \ | ||
apt-get -y clean autoclean autoremove && \ | ||
rm -rf /var/lib/{apt,dpkg,cache,log}/ | ||
|
||
RUN mkdir /build | ||
WORKDIR /build | ||
COPY . /build | ||
RUN apt-get -yq update && \ | ||
apt-get -y install autoconf bison build-essential flex git libelf-dev \ | ||
libgmp3-dev libncurses5-dev libssl-dev libtool-bin pkg-config python-dev texinfo wget zlib1g-dev && \ | ||
apt-get -y clean autoclean autoremove && \ | ||
find /var/cache/apt/archives /var/lib/apt/lists /var/lib/dpkg /var/log -not -name lock -type f -delete | ||
|
||
# Fixes certificate errors with letsencrypt in ARMv7 | ||
RUN echo "\nca_certificate=/etc/ssl/certs/ca-certificates.crt" | tee -a /etc/wgetrc | ||
RUN /build/toolchain.sh | ||
RUN mkdir $PS3TOOLCHAIN $PS3DEV | ||
WORKDIR $PS3TOOLCHAIN | ||
COPY . . | ||
VOLUME $PS3DEV | ||
RUN $PS3TOOLCHAIN/toolchain.sh | ||
RUN rm -rf $PS3TOOLCHAIN | ||
CMD /bin/bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
# check-gmp.sh by Timothy Redaelli ([email protected]) | ||
set -x | ||
|
||
[ -f /usr/include/$(gcc -dumpmachine)/gmp.h -o -f /usr/include/gmp.h -o -f /opt/local/include/gmp.h -o -f /usr/local/include/gmp.h -o -f /opt/csw/include/gmp.h ] || { echo "ERROR: Install gmp before continuing."; exit 1; } | ||
([ -f /usr/include/$(gcc -dumpmachine)/gmp.h ] || [ -f /usr/include/gmp.h ] || [ -f /opt/local/include/gmp.h ] || [ -f /usr/local/include/gmp.h ] || [ -f /opt/csw/include/gmp.h ]) || { echo "ERROR: Install gmp before continuing."; exit 1; } |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.