Commit graph

272 commits

Author SHA1 Message Date
Jools Wills
a3c96acbca tinker board - add platform recognition and kms / gles flags for gles on kmsdrm 2017-11-01 14:49:30 +00:00
Conn O'Griofa
295ecdbac4 get_rpi_video: use fallback pkgconfig if needed 2017-10-05 15:44:39 +01:00
Conn O'Griofa
9763f6d817 Add RPI graphics stack detection flags
Detect graphics driver configuration based on VC4 module state and
DeviceTree configuration (fake kms enables the vc4_firmware_kms
platform device).

Adds the following platform flags:
* vc4 Full KMS: mesa, kms
* vc4 Fake KMS: mesa, kms, dispmanx
* vendor: videocore, dispmanx

Additionally, ensure that the vendor pkgconfig is set via
PKG_CONFIG_PATH to facilitate building.

Note: this will block the script if f/kms is detected, as the
VC4 driver is not ready for widespread use or testing.
2017-10-05 15:44:34 +01:00
Jools Wills
bde1a723c2 system - cosmetic / use main and ui sections for repo adding (this code may no longer be needed) 2017-09-10 12:15:35 +01:00
Jools Wills
e783c07423 system - sp. 2017-09-10 12:15:20 +01:00
Jools Wills
6f3bed9a92 system - throw an error when running on Raspbian Stretch on the RPI until support is added 2017-09-04 07:33:41 +01:00
Jools Wills
c037d8bc01 system - we only provide binaries for Raspbian 8 2017-08-10 17:27:44 +01:00
Jools Wills
94dd7e25df system - use https for files.retropie.org.uk binary/archive downloads 2017-07-20 03:17:57 +01:00
meleu
967d323d6b joy2key gets button maps from retroarch configs 2017-05-21 17:50:11 -03:00
Jools Wills
9eff4fcbef Merge pull request #1942 from joolswills/odroid_xu
Odroid XU support
2017-05-01 23:35:00 +01:00
Jools Wills
6b23aa96b1 system - workaround for undefined gl functions on odroid-xu
* due to includes requiring GL_GLEXT_PROTOTYPES to define gl functions - most likely a bug with the headers
2017-04-29 23:37:47 +01:00
Jools Wills
736030f842 added initial odroid-xu platform 2017-04-20 22:43:19 +01:00
Jools Wills
e1a9303164 debian stretch support
* only force gcc version to 4.9 on debian/raspbian 8
 * use libpng-dev for debian 9+
 * set debian version to 9 for ubuntu 16.10 and above (for libpng naming).
2017-04-20 19:13:52 +01:00
Jools Wills
b0b736e3ea system - fix up binaries flag
* move setting of flag out of platform functions
 * need to set only for RPI on jessie so set in OS version check.
2017-03-29 19:08:56 +01:00
Jools Wills
c016aaf020 system - cortex-a7 is now supported by qemu-arm-static 2017-03-13 16:42:02 +00:00
Jools Wills
8a3965c72f system - add __default_cxxflags 2017-02-05 11:58:32 +00:00
Jools Wills
9b3864519b system - should be appending to __default_cflags or else we lose out rpi3 flags - fixes building mupen64plus GlideN64 plugin 2017-02-04 00:28:49 +00:00
Jools Wills
e93a955dd0 global workaround for the GCC ABI compatibility issue with threaded C++ code on armv7+ 2017-01-28 04:35:34 +00:00
Jools Wills
6004444ed8 added devuan support - closes #1838 2017-01-15 22:37:45 +00:00
Jools Wills
61085b9825 system - remove unused platform/function 2017-01-15 01:25:26 +00:00
Jools Wills
0bfd4208fa odroid-c2 - support 32bit userland/os (in theory - mostly works on odrobian hybrid, but that os is no longer supported) 2017-01-15 01:22:12 +00:00
Jools Wills
c31793f729 system - set __os_debian_ver to debian maj version 2017-01-14 18:54:55 +00:00
Jools Wills
632381ef65 system - added some comments regarding rpi revision decoding 2017-01-10 03:39:15 +00:00
Jools Wills
882bfdb844 system - use -j2 for odroid-c2 to avoid oom issues 2017-01-10 03:35:00 +00:00
Jools Wills
7db8ccc590 added support for xbian 2017-01-10 03:28:52 +00:00
Jools Wills
0ace8668f0 system - add 0x to rev variable 2016-12-30 19:52:33 +00:00
Jools Wills
90ec9fa9b1 system - check bit 23 (whether the revision is a bit field) rather than comparing the revision as recommended by popcornmix 2016-12-30 19:32:18 +00:00
Jools Wills
6ebe2deb46 system - fix old revision check <= 0x0015 2016-12-30 19:16:51 +00:00
Jools Wills
eb3b6bcf3d system - use processor bits from revision field for rpi detection - fixes #1809 2016-12-30 19:07:57 +00:00
Jools Wills
29ec6488fe remove more wheezy code 2016-12-27 04:29:08 +00:00
Jools Wills
a4908e52c3 add an __os_ubuntu_ver global to deal with Ubuntu based distros - add support for elementary os and kde neon 2016-12-24 20:19:04 +00:00
Jools Wills
db23b0ab58 odroid-c2 - platform flags 2016-12-20 02:49:20 +00:00
Jools Wills
9b824a01f6 system - use "-ftree-vectorize -funsafe-math-optimizations" for arm7+ platforms.
* This will enable using neon for floating point operations without having to use -O3 which caused some issues for some emulators.
2016-11-25 20:36:42 +00:00
Jools Wills
522623dd2f system - add 32bit/64bit to platform flags 2016-11-19 01:00:05 +00:00
Jools Wills
f59f9df4c9 styleguide / quoting 2016-11-19 00:52:07 +00:00
Jools Wills
5e369663b7 styleguide / cleanups 2016-11-13 23:32:34 +00:00
Jools Wills
7bf538d435 system - remove -O3 / -funsafe-math-operations by default - https://github.com/RetroPie/RetroPie-Setup/issues/1385#issuecomment-254296913.
* Only have seen performance increases in synthetic benchmarks - no effect on performance in quake for example on arm with neon.
 * Ends up with bad code in some places (eg crashes on lr-fba-next in rtype 2 https://github.com/libretro/fbalpha/issues/9#issuecomment-254287565)
 * Have seen other emulators with issues previously when compiling with -O3
 * If there is an emulator that has a significant improvement, we can enable it on a per module basis for arm.
2016-10-17 19:47:35 +01:00
Jools Wills
a682432807 system - set a platform flag when running on OSMC 2016-10-17 00:31:25 +01:00
Jools Wills
900b784bb2 system - move apt-get check 2016-10-16 23:29:59 +01:00
Jools Wills
e7734c8fa9 system - allow running on LinuxMint 2016-10-16 23:24:52 +01:00
Jools Wills
a28176e1ab system - updates
* check/install lsb-release in get_os_version, since we use it before we install additional packages needed
 * make sure apt-get is available to fail with error on non debian based os
2016-10-16 23:24:46 +01:00
Jools Wills
2d8725b8de system - platform identification
* use lsb_release for platform identification
 * use new variables __os_id / __os_desc / __os_release / __os_codename
2016-10-09 05:50:35 +01:00
Jools Wills
14cc370643 cosmetic - trailing whitespace 2016-09-27 23:05:40 +01:00
gizmo98
c660c62ad8 Better rpi3 cflags
Use -march=armv8-a+crc so CRC extensions can be used.
2016-09-05 22:13:48 +02:00
Jools Wills
b7d0fe8ecb system - allow installing of retropie on rpi ubuntu (source only). 2016-09-01 22:28:23 +01:00
Jools Wills
837b2a2a64 system - don't allow installation on Ubuntu on the Raspberry Pi #1652 2016-08-24 19:35:18 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
2afbf9aab4 cosmetic 2016-07-25 16:32:03 +01:00
M. Broncano
81a46153c2 Suport for i.MX6 platforms 2016-07-23 14:12:54 +00:00
Jools Wills
6b4e7ac017 don't force default gcc on ubuntu - fixes #1552 2016-06-29 14:04:01 +01:00