summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices
Commit message (Collapse)AuthorAgeFilesLines
* Fix '=' alignment and replace tabs in *.conf (whitespace only change)Axel Waggershauser2013-03-2712-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace all tabs with proper space characters and consistently align the '=' characters. The default alignment for the '=' of 25 characters has been left as is to get a minimal diff. Lines with the '=' further to the right and those belonging to 'proper code (TM)' have not been touched. The work was mostly done using the following python script (might come in handy again...): import sys, re indent_eq = 25 + 0*4 # 25 characters was the most widely used indentation for the '=' character p = re.compile(r'(\w+)[ \t]*([\-\+]?)(=$|= )[ \t]*(.*$)') for fn in sys.argv[1:]: with open(fn, 'r+') as f: lines = [] nl_count = 0 continuity_indent = None for l in f: m = p.match(l) nl = l if m: n_spaces = max(m.start(3), indent_eq - 1) - len(m.group(2)) - len(m.group(1)) if m.group(2) and m.start(2) >= indent_eq-1 and m.start(2) % 4 == 0: n_spaces -= 1 # left-shift '+=' by one if the '+' is aligned to a multiple of 4 n_spaces = max(1, n_spaces) # we want at least one space before '='/'+=' nl = m.group(1) + ' '*n_spaces + ''.join(m.group(2,3,4)) + '\n' continuity_indent = nl.find('= ') + 2 if l[-2] == '\\' else None # remember indent on '\\$' elif continuity_indent: nl = ' '*continuity_indent + l.lstrip() if l[-2] != '\\': # check when to stop the continuation continuity_indent = None elif l.startswith('#'): nl = l.expandtabs(2) if l != nl: nl_count += 1 lines.append(nl) if nl_count > 0: print fn, nl_count, len(lines) f.seek(0) f.writelines(lines) f.truncate() Change-Id: I1d2870d0a2fe2e30d398c140fe523e69dd20c81b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* raspberry pi: add /opt/vc/include/interface/vmcs_host/linux to GL includesv5.1.0-alpha1Volker Krause2013-03-271-1/+3
| | | | | | | This matches upstream changes on https://github.com/raspberrypi/firmware/ Change-Id: Ie28c2fa574d5cd097c033926970db40e8904e42e Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Qnx: Add BlackBerry Playbook config tokenRafael Roquetto2013-03-062-0/+2
| | | | | | Change-Id: I31367b6c9b20fdfce1c60c4b9f0b213aba1872e4 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Add device mkspec for i.MX53 devicesSean Harmer2013-02-252-0/+79
| | | | | | | | | | This is tested with eglfs plugin on the Yocto Project's Poky distribution. Change-Id: I73edd66d6cd62febb2f699ac5b1ca1f1c0dea449 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1816-16/+16
| | | | | Change-Id: Ic804938fc352291d011800d21e549c10acac66fb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Device mkspec for BlackBerry PlaybookRafael Roquetto2013-01-164-0/+98
| | | | | | | | | Change-Id: I4a437ce2da7c94b49c747e9fcdc9ec622ef51ddc Reviewed-by: Donald Carr <sirspudd@gmail.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Fix QtBase cross compilation in debug mode for iMX6 targets.Milian Wolff2013-01-141-3/+6
| | | | | | | | | | The platform specific CFLAGS, most notably -march=armv7-a, were only added to QMake's _RELEASE flags but not to the _DEBUG flags. This then resulted in strange compilation errors such as this one: http://qt-project.org/forums/viewthread/22141 Change-Id: Ib47996c6946b043294437e8543827da270df836d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* updating qeglfshooks_imx6.cpp to 12.09.01 (L3.0.35) opengl-driversThomas Senyk2012-12-141-2/+2
| | | | | | | Change-Id: Id19c1e99ca5c6a28c61f67b76181ebf85fd20a37 Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Stop using the name "Trolltech" in QSettingsSergio Ahumada2012-12-032-2/+2
| | | | | | | | | Also change Trolltech for QtProject in other places Task-number: QTBUG-23269 Change-Id: Ie4e344f23cab77c575562d18b481b3369ce30491 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Introduce a Tegra2 mkspec to the device specsThomas Senyk2012-10-082-0/+73
| | | | | Change-Id: I16275f2f289a78e3217d765934b999b188005c14 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Simplify the imx6-device-mkspecThomas Senyk2012-10-081-23/+13
| | | | | | | | | | | | This change is possible due to commit 18654058 As it's now possible to use configure's -sysroot without gcc's --sysroot, it's possible to use configure's pkg-config setup (which comes with its -sysroot). This gives the possibility to simplify the mkspec and be in line with the other device-mkspecs Change-Id: I0f34ec2c5c7b06334ad3c1605001c0803272b027 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2215-371/+371
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: If1cc974286d29fd01ec6c19dd4719a67f4c3f00e Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* add missing maemo platform announcement to n9 specOswald Buddenhagen2012-09-211-0/+2
| | | | | Change-Id: I24855dc3fdfcc19a81f7e030c9dfbbdddd2bb552 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Rename the N9 device mkspecs folder to match the *-maemo* regexLaszlo Papp2012-09-142-0/+0
| | | | | | | Change-Id: I0c7b74d67f44d776a74671d38bbc0f2424974c2c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Romain Pokrzywka <romain.pokrzywka@kdab.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* centralize initialization of CONFIG in mkspecsOswald Buddenhagen2012-09-0810-10/+10
| | | | | | | | "CONFIG += qt warn_on release link_prl" is in every single spec (though for link_prl there is one genuine exception and two apparent omissions). Change-Id: I72e1e315586af828eefa3b0b70998ab892ec3c1a Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* centralize initialization of QT in specsOswald Buddenhagen2012-09-0810-10/+0
| | | | | | | | there is no reason whatsoever to duplicate this so many times, and even less reason to have specs with a deviating default. Change-Id: Ia25836c079580adebc373697b8bd03598f79c69b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* remove useless TEMPLATE assignments from specsOswald Buddenhagen2012-09-0810-10/+0
| | | | | | | "app" is the built-in default anyway Change-Id: I4f581ee5b81aee08860dbdda5d863943bceafb1b Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* adjust specs to the new target mode handlingOswald Buddenhagen2012-09-0810-10/+0
| | | | | | | | | | | | not strictly necessary, but nicer. QMAKE_PLATFORM (and thus CONFIG) now also contains the name of the OS, and its family (if applicable, e.g., bsd). this also adds more feature search paths. Change-Id: I3ab971e6e3b2b32cae53b95e4bc67a86688bc5cb Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Update Raspberry Pi mkspecDonald Carr2012-08-091-7/+7
| | | | | | | | | | Hard float enabled Raspbian image is now primary platform provided by the Raspberry Pi foundation. Change-Id: I2d59ad26fac459907b4f51764975a3e6e29c6033 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Thomas Senyk <thomas.senyk@pelagicore.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Adding iMX6-device-filesThomas Senyk2012-07-103-0/+180
| | | | | Change-Id: Ifdfacf7201c9ee47783ae782d1f9042fe529a039 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Set Wayland as default platform on Raspberry-PiDonald Carr2012-06-241-1/+4
| | | | | | | | | Update Raspberry-Pi mkspec to indicate that wayland is the default platform for the Raspberry-Pi. Change-Id: I10b30ecfb16faed6027137225d9e95409faa7e87 Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* eglfs: move m_pos into CursorGirish Ramakrishnan2012-06-221-2/+2
| | | | | Change-Id: I51e92d265e7ea6372ae58b357f75362e2d9a2df9 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* raspberry: remove unused screen size detection codeJohannes Zellner2012-06-191-29/+0
| | | | | | | | The fbdev fallback code now resides in the default implemenatation of the hooks. Change-Id: Id3d2cd23ab826b90c0e6d442bfb222aa8c291646 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* eglfs: Pass QSurfaceFormat to createNativeWindow() hookJohannes Zellner2012-06-142-5/+7
| | | | | Change-Id: Ib352d8591360a224359ef218b95cd27cdfaf81aa Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* eglfs: mark overriden methods with Q_DECL_OVERRIDEGirish Ramakrishnan2012-06-131-4/+5
| | | | | | | | | The current cursor implementation can be a bit hard to read without hints about which methods are overriden. Change-Id: I3376890a13be46e1ece03d1442dd5a15ccd61382 Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* raspberry pi: Dont use the video layer for EGLFSJohannes Zellner2012-06-121-1/+1
| | | | | | | | | | The OpenmaxIL video_render component uses the dispmanx layer 0, so EGLFS should use at least z index 1. Otherwise the video_render would conflict with the UI and thus overpaints it. Change-Id: I3bed23567fa8c4399207289c6ef952c5a5e0d503 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Donald Carr <donald.carr@nokia.com>
* raspberry pi: add /opt/vc/include/interface/vcos/pthreads to includesGirish Ramakrishnan2012-06-121-1/+1
| | | | | | | | See https://github.com/raspberrypi/firmware/pull/32 for more information. Change-Id: I51bb532336ed069cde938540cd962721b1a72adb Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Fix common device spec pathsDonald Carr2012-06-071-3/+3
| | | | | | | | | | | This fixes breakage in the Raspberry Pi spec introduced in: https://codereview.qt-project.org/#change,27536 due to incorrect depth assumptions regarding included files. Change-Id: I802b828f1755f299939fed192dd3ca9bf1a83002 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Generalize common device properties out of Raspberry Pi specDonald Carr2012-06-063-35/+47
| | | | | | Change-Id: I58cc9c9219bf3e9ed8e7401cb66f968306d7bfc9 Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* eglfs: implement hardware cursor for the raspberry-piGirish Ramakrishnan2012-06-011-36/+183
| | | | | | | | | | | | | | | | The cursor is rendered on a dispmanx layer and moved around. This approach saves us from having to update the underlying window each time the cursor moves. Dispmanx layers cannot be moved to negative coords. As a result, currently it is not possible to move to a location less than the hostpot. A future commit will fix this problem. Change-Id: Ida5ee961d03a6929860c515e503482756a4913ed Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Andy Nichols <andy.nichols@nokia.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* Add hard float-abi support to Raspberry Pi specDonald Carr2012-05-301-1/+8
| | | | | | Change-Id: I1bed28bdb5f84e61605972713a20359cc6deeaa6 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
* Introduce a Snowball mkspec to the device specsDonald Carr2012-05-252-0/+75
| | | | | Change-Id: I7aa2f1a719c424079d7f0d7b3410f293cee05fa9 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* -device: remove redundant check for empty CROSS_COMPILEGirish Ramakrishnan2012-05-242-3/+0
| | | | | | | | | | Remove the check from ST7540 and PNX8473 specs since it's already checked in deviceSanityCheckCompiler Change-Id: I2accb12f9e692e253f76194ca68b1f4cc673a833 Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* bcm97425: Fix linking the directfbegl QPA pluginHolger Hans Peter Freyther2012-05-241-1/+2
| | | | | | | | | | directfbegl requires libQtPlatformSupport to provide some EGL helper functions. Enable EGL by adding it to the QT_CONFIG variable in the qmake.conf. Change-Id: I80d3163d9da4b9eb232aea72ba7d4388453f8247 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* eglfs/pi: update handles are 'local' variablesGirish Ramakrishnan2012-05-221-2/+3
| | | | | | Change-Id: Iec687e9cd015ed389a637b50e4e4e332478b6e1f Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
* Clean up Raspberry Pi specDonald Carr2012-05-221-9/+18
| | | | | | | Introduce platform libs hook to handle/allow device specific initialization and the associated symbol resolution Change-Id: I098b07dcb581390d369d9165c6cedc7ace1e088a Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Remove optimization flag from QMAKE_CFLAGSRomain Pokrzywka2012-05-174-6/+3
| | | | | | | | | -O2 is already the default optimization level for release builds, as defined in gcc-base.conf. In addition, it shouldn't be set for debug builds. Change-Id: Idd7406b0d135d9579676b389050fd6e5776e722c Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Apply compiler platform flags to debug builds as wellRomain Pokrzywka2012-05-174-8/+8
| | | | | | | | | Compiler flags like CPU architecture and FPU should be set on QMAKE_CFLAGS instead of QMAKE_CFLAGS_RELEASE, as the latter only applies to release builds Change-Id: I2e729a9e413934e904fc2810394e118940b8557f Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* device: don't set a default cross compile prefixDonald Carr2012-05-157-15/+2
| | | | | | | | | | | | | | qmake -set can be used instead to set a the default cross compile. device_config.prf already contains code to read this default. Remove per-spec CROSS_COMPILE checks Introduce deviceSanityCheckCompiler() usage where appropriate Done-with: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Change-Id: I07c75c9e933dc1174a1bf8bf523b6b4a6b427408 Reviewed-by: Romain Pokrzywka <romain.pokrzywka@kdab.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Remove stale udev checkDonald Carr2012-05-121-6/+0
| | | | | | | udev headers now ship as part of the base debian reference image Change-Id: I181c7f48ca59af46fccf8f3204845379d068c023 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Introduce Arch Linux specific link line to pi mkspecDonald Carr2012-05-051-1/+6
| | | | | Change-Id: I77c99a2f5e25c28ad2d4a13e3b56d3603cd5bb64 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Make eglfs hooks functionality namespace cognisantDonald Carr2012-05-023-0/+10
| | | | | Change-Id: Ie9f86bd0494c0423f50d0f405922ab169b2431e3 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Add makespecs for standard devices in the OMAP3 familyRomain Pokrzywka2012-04-254-0/+206
| | | | | | | | | | | | | | The beagleboard and Archos gen8 tablets are built on the same hardware and OpenEmbedded platform build system. The makespecs enable OpenGL/ES2 support and EGLFS as the default platform. Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Donald Carr <donald.carr@nokia.com> Change-Id: I04938676f82f9136efd662ff3ede16221eadf275 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Add N9 device mkspec to device mkspecs folderDonald Carr2012-04-242-0/+76
| | | | | Change-Id: Ie8b0e8a014316b218c86cfdc0c58cad1ae4d3015 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* Adjust device mkspecs to use qpa default plugin varDonald Carr2012-04-207-2/+12
| | | | | Change-Id: If7be3517a423324e744805e8508eb9277a600ed4 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* directfb: Integrate building into configure.Holger Hans Peter Freyther2012-04-131-5/+3
| | | | | | | | | Add DirectFB buildsystem integration by adding a configure target and adding it as subdirectory to the project file. The default is to automatically build directfb. Update the Broadcom/9425 build. Change-Id: I482f865cebd9d5cd4c98c184773f8534f92db9df Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* device: Introduce hooks for the directfb plugin and use themHolger Hans Peter Freyther2012-04-132-0/+75
| | | | | | | | | The EGL integration is vendor specific, add platform hooks to the DirectFB plugin and implement them for the Broadcom 97425. The hook interface is internal and there are no ABI/API gurantees. Change-Id: I33359830c51f16895e771837fccb71e03c81cf18 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* device: Add device support for Trident's ShinerBhooshan Supe2012-04-122-0/+109
| | | | | | | | | Add mkspec for the Trident's Shiner platform to be used in conjunction with the -device support in configure. This allows you to build Qt Change-Id: I68d8e8eb78f073e98f72207e9c5de6a0da0ed35d Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* device: Add device support for STMicroelectronic's ST7108Bhooshan Supe2012-04-122-0/+78
| | | | | | | | | Add mkspec for the STMicroelectronic's ST7108 platform to be used in conjunction with the -device support in configure. This allows you to build Qt with the application libraries provided by STM SDK 35. Change-Id: I36aa174200f034ccd6ee285e3f8a8ffec99b3e70 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
* device: Add device support for STMicroelectronic's ST7540Bhooshan Supe2012-04-122-0/+90
| | | | | | | | | Add mkspec for the STMicroelectronic's ST7540 platform to be used in conjunction with the -device support in configure. This allows you to build Qt with the application libraries provided by STM SDK 36. Change-Id: I4369b23b9a0c9063417e5cc71969f65e967e4019 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>