Permalink
Browse files

Merge branch 'master' of https://github.com/Reisyukaku/ReiNX

  • Loading branch information...
Reisyukaku committed Aug 25, 2018
2 parents 0a3f305 + 02183f4 commit 1ae5ce2919d065ce9246835f0570773b4463ff23
Showing with 33 additions and 23 deletions.
  1. +9 −4 Dockerfile
  2. +1 −1 NX_Sysmodules
  3. +5 −5 README.md
  4. +18 −13 docker-build.sh
View
@@ -1,6 +1,11 @@
FROM devkitpro/devkitarm:latest
MAINTAINER jski "jski185@gmail.com"
FROM devkitpro/devkita64
MAINTAINER elelphatp "elephantp@elephantp.blog"
ADD . /
RUN dkp-pacman -Syyu --noconfirm devkitARM && \
dkp-pacman -Scc --noconfirm
ENTRYPOINT ["make"]
ENV DEVKITARM=${DEVKITPRO}/devkitARM
WORKDIR /developer
ENTRYPOINT ["make"]
View
@@ -11,7 +11,7 @@ Put `ReiNX` folder on the root of your switch's SD card and run `ReiNX.bin` with
You'll need devkitpro with devkitARM and run `make`
To compile with Docker, `chmod +x docker-build.sh` and run the shell script `./docker-build.sh`. This will compile without requiring installation of DevKit* dependencies.
To compile with Docker, `chmod +x docker-build.sh` and run the shell script `./docker-build.sh`. After that, just check `out` dir. This will compile without requiring installation of DevKit* dependencies.
**Features:**
@@ -29,11 +29,11 @@ To compile with Docker, `chmod +x docker-build.sh` and run the shell script `./d
[HERE](https://gbatemp.net/threads/official-reinx-thread.512203/)
**Credits:**
Naehrwert for hardware init code and generally being helpful!
CTCaer and st4rk for their contribution to the hardware code aswell!
SciresM for sysmodules!
The community for your support!
View
@@ -1,16 +1,21 @@
#!/usr/bin/env bash
ECHO ""
ECHO "Emptying out /build and /out folders..."
ECHO ""
rm -rf ./build
rm -rf ./out
echo "Checking reinx-builder image..."
ECHO ""
ECHO "Building docker image locally..."
ECHO ""
docker build . -t reinx-builder:latest
IMAGE=`docker image ls|grep reinx-builder -c`
if [[ "$IMAGE" == 1 ]]; then
echo "Reinx-builder image is exist"
else
echo ""
echo "Building docker image locally..."
echo ""
docker build . -t reinx-builder
fi
ECHO ""
ECHO "Running image and generating build..."
ECHO ""
docker run -v $(pwd)/build:/build -v $(pwd)/out:/out reinx-builder:latest
echo "Checking container...."
CONTAINER=`docker ps -a|grep reinx-builder -c`
echo "Building..."
if [[ "$CONTAINER" == 1 ]]; then
docker start -a reinx-builder
else
docker run -a stdout -a stderr --name reinx-builder -v $(pwd):/developer reinx-builder
fi

0 comments on commit 1ae5ce2

Please sign in to comment.