BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
626 stars 86 forks source link

Cleanup PLATFORM overlaps #547

Closed MichaIng closed 4 years ago

MichaIng commented 4 years ago

I recognised some platform overlaps and was thinking which choice should be preferred in which case. Probably it makes sense, when some SBC-specific flags are applied via SBC-specific platform string, to mention or exclude it (via comments) from the generic SoC platform string. Also some seem to not match:

I just recognised 32bit vs 64bit here, which is probably the reason for the overlap? Probably it makes sense to either allow 32 and 64 bit for 64bit capable SoCs (since in some cases 32bit kernel/OS might be used) or switch them to 64bit all together, since really, I never saw an RK3399 running with 32bit kernel/OS, which would not deserve any support (joke) πŸ˜„.

midwan commented 4 years ago

@MichaIng The only reason is the different bit-ness basically (32-bit/64-bit versions). There are different distros that use one or the other, so to cover all grounds I'm providing both flavors. Distros like Batocera using buildroot have a preference towards 32-bit versions in general, whereas others might prefer 64-bit.

MichaIng commented 4 years ago

@midwan

The only reason is the different bit-ness basically (32-bit/64-bit versions).

Jep, I recognised this while writing the issue. Also I see now that the makefile comments contain this info as well in most cases, like "(SDL2 64-bit)", so this makes it quite clear. I personally would use two platform names for x64-capable SoCs with suffix, e.g. like "RK3399_x64" and "RK3399_x32", with "RK3399" (no suffix) defaults to x64 bit. This would make things easier for new users who might simply take the first matching platform from the makefile. Otherwise changing names again breaks existing scripts πŸ˜„.

Finally everything is fine, just something worth a though when new platforms are added or naming is changed for another reason anyway, at least I was confused a bid with current situation 😜.