Skip to content

Commit

Permalink
remove AMD64 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycaccese committed Apr 10, 2024
1 parent 7261ddc commit a779242
Show file tree
Hide file tree
Showing 35 changed files with 25 additions and 872 deletions.
Binary file removed docs/_inc/images/devices/anbernic-win600.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/aokzoe-a1-pro.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/atari-vcs.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/ayaneo-2.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/ayaneo-air-plus.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/ayaneo-air.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/ayn-loki.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/gpdwin-4.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/gpdwin-max-2.png
Binary file not shown.
Binary file removed docs/_inc/images/devices/trimui-smart-pro.png
Binary file not shown.
16 changes: 7 additions & 9 deletions docs/contribute/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ Building ROCKNIX is easy. From the root of your local repository, issue one of

| Devices | Dependency | Docker Command | Manual Command |
| ---- | ---- | ---- | ---- |
|AMD64||`make docker-AMD64`|`make AMD64`|
|RK3588||`make docker-RK3588`|`make RK3588`|
|RK3326||`make docker-RK3326`|`make RK3326`|
|RK3566||`make docker-RK3566`|`make RK3566`|
Expand All @@ -170,10 +169,10 @@ Building ROCKNIX is easy. From the root of your local repository, issue one of

> Devices that list a dependency require you to build the dependency first, since that build will be used as the root of the device you are building.
For example, the following command uses Docker to build the AMD64 image.
For example, the following command uses Docker to build the RK3588 image.

``` bash
make docker-AMD64
make docker-RK3588
```

### Rightsized Builds
Expand Down Expand Up @@ -234,7 +233,7 @@ export CHEEVOS_DEV_LOGIN="z=RETROACHIEVEMENTSUSERNAME&y=APIKEYID"

``` bash
make docker-shell
CLEAN_PACKAGES="linux ppsspp-sa" make AMD64
CLEAN_PACKAGES="linux ppsspp-sa" make RK3588
exit
```
The first and last lines should be omitted if building outside of Docker.
Expand All @@ -256,23 +255,22 @@ Use this table to determine the values you should use in the above command:

| For Build | PROJECT | DEVICE | ARCH |
| ---- | ---- | ---- | ---- |
| AMD64 | PC | AMD64 | x86_64 |
| RK3588 | Rockchip | RK3588 | aarch64 |
| RK3326 | Rockchip | RK3326 | aarch64 |
| RK3566 | Rockchip | RK3566 | aarch64 |
| RK3566-X55 | Rockchip | RK3566-X55 | aarch64 |
| S922X | Amlogic | S922X | aarch64 |

As an example; if you were buildling `AMD64` and wanted to clean the `mame-lr` package:
As an example; if you were buildling `RK3588` and wanted to clean the `mame-lr` package:
``` bash
PROJECT=PC DEVICE=AMD64 ARCH=x86_64 ./scripts/clean mame-lr
PROJECT=Rockchip DEVICE=RK3588 ARCH=aarch64 ./scripts/clean mame-lr
```

After cleaning a package you can try to build/install it directly as a quick way to see if the error is resolved. Just change the script to `install` or `build` depending on what the package requires.

Using our example above (e.g. building for AMD64) mame-lr requires `install` so you can run this command to check it directly
Using our example above (e.g. building for RK3588) mame-lr requires `install` so you can run this command to check it directly
``` bash
PROJECT=PC DEVICE=AMD64 ARCH=x86_64 ./scripts/install mame-lr
PROJECT=Rockchip DEVICE=RK3588 ARCH=aarch64 ./scripts/install mame-lr
```

If that completes without error then running the build for your device should proceed.
Expand Down
8 changes: 4 additions & 4 deletions docs/contribute/modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ When modifying individual packages, it's useful to regularly verify the build-ab

``` bash linenums="1"
make docker-shell
export PROJECT=PC DEVICE=AMD64 ARCH=x86_64
export PROJECT=Rockchip DEVICE=RK3588 ARCH=aarch64
./scripts/clean busybox
./scripts/build busybox
exit
Expand All @@ -31,9 +31,9 @@ mv wireguard-linux-compat-v1.0.20211208 wireguard-linux-compat
cp -rf wireguard-linux-compat wireguard-linux-compat.orig

# Make your changes to wireguard-linux-compat
mkdir -p ../../packages/network/wireguard-linux-compat/patches/AMD64
mkdir -p ../../packages/network/wireguard-linux-compat/patches/RK3588
# run from the sources dir
diff -rupN wireguard-linux-compat wireguard-linux-compat.orig >../../packages/network/wireguard-linux-compat/patches/AMD64/mychanges.patch
diff -rupN wireguard-linux-compat wireguard-linux-compat.orig >../../packages/network/wireguard-linux-compat/patches/RK3588/mychanges.patch
```

## Creating a Patch for a Package Using git
Expand Down Expand Up @@ -63,7 +63,7 @@ make docker-shell
vim/emacs/vscode/notepad.exe

export OS_VERSION=$(date +%Y%m%d) BUILD_DATE=$(date)
export PROJECT=PC DEVICE=AMD64 ARCH=x86_64
export PROJECT=Rockchip DEVICE=RK3588 ARCH=aarch64
./scripts/clean emulationstation
./scripts/build emulationstation
./scripts/install emulationstation
Expand Down
2 changes: 1 addition & 1 deletion docs/contribute/quirks.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Using this data, we will create a match rule to match our panel struct in drm_pa
}
```

Save, and build your patch following the instructions [here](modify.md). Place your patch in `packages/kernel/linux/patches/AMD64` or the appropriate device directory, and run a test build.
Save, and build your patch following the instructions [here](modify.md). Place your patch in `packages/kernel/linux/patches/RK3588` or the appropriate device directory, and run a test build.

!!! note "DMI_EXACT_MATCH or DMI_MATCH can be used. DMI_EXACT_MATCH is as implied, an exact match. DMI_MATCH will match that any device where its DMI data includes "AIR Plus""

Expand Down
36 changes: 0 additions & 36 deletions docs/devices/anbernic/win600.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/devices/aokzoe/a1-pro.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/devices/atari/vcs.md

This file was deleted.

44 changes: 0 additions & 44 deletions docs/devices/ayaneo/air-plus.md

This file was deleted.

Loading

0 comments on commit a779242

Please sign in to comment.