mirror of
https://github.com/wiiu-env/PatchMemoryRelocationsModule.git
synced 2024-11-14 05:55:09 +01:00
Add a Dockerfile
This commit is contained in:
parent
ef975ecbd1
commit
a00d616585
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
||||
FROM wiiuenv/devkitppc:20200625
|
||||
|
||||
COPY --from=wiiuenv/libmappedmemory:20200626 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/wiiumodulesystem:20200626 /artifacts $DEVKITPRO
|
||||
|
||||
WORKDIR project
|
15
README.md
15
README.md
@ -4,6 +4,21 @@ Replaces the usage of `MEMAllocFromDefaultHeap`, `MEMAllocFromDefaultHeapEx` and
|
||||
# Usage
|
||||
Run this module via [SetupPayload](https://github.com/wiiu-env/SetupPayload/), requires the [MemoryMappingModule](https://github.com/wiiu-env/MemoryMappingModule) to be running at the same time.
|
||||
|
||||
## Building using the Dockerfile
|
||||
|
||||
It's possible to use a docker image for building. This way you don't need anything installed on your host system.
|
||||
|
||||
```
|
||||
# Build docker image (only needed once)
|
||||
docker build . -t patchmemoryrelocationsmodule-builder
|
||||
|
||||
# make
|
||||
docker run -it --rm -v ${PWD}:/project patchmemoryrelocationsmodule-builder make
|
||||
|
||||
# make clean
|
||||
docker run -it --rm -v ${PWD}:/project patchmemoryrelocationsmodule-builder make clean
|
||||
```
|
||||
|
||||
# Dependencies:
|
||||
- [wut](https://github.com/decaf-emu/wut)
|
||||
- [WUMS](https://github.com/wiiu-env/WiiUModuleSystem)
|
||||
|
Loading…
Reference in New Issue
Block a user