summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2017-04-16Remove libdrm_omap dependencyLaurent Pinchart
The library is just a wrapper around ioctls. It doesn't provide much value, and its API is marked as experimental and should thus not be expected to be stable. As third party library dependencies are always painful for distributors and packagers, use the ioctls directly for now. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-02-06Support python2 based pykms bindingAlejandro Hernandez
Previously only binding with python3 was supported, this patch allows compilation of pykms with python3 or python2. When compiling with python2 some of the python scripts located in the py/test will not work since they import python3 only modules Signed-off-by: Alejandro Hernandez <ajhernandez@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-02-06Add README.md to custom targetsTomi Valkeinen
2016-11-26cmake: set C_FLAGS tooTomi Valkeinen
2016-11-22py: Add OmapCard & OmapFramebuffer supportTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-11-21Add OmapCard and OmapFramebufferTomi Valkeinen
Add OmapCard and OmapFramebuffer classes to utilize omap_bos. Only non-tiled framebuffer is implemented for now. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-01Add cmake option for -WerrorTomi Valkeinen
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-10-01remove -rdynamic gcc flagTomi Valkeinen
This reduces the exe sizes. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-09-29Improve LTO detection codeTomi Valkeinen
Split LTO detection into separate func and file, and create a cached LTO_WORKS variable. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-09-28Fix LTO detectionLaurent Pinchart
Catch gcc-ar and gcc-ranlib versions compiled without plugin support and disable LTO in that case. Also do the LTO check only once by checking if HAS_LTO_FLAG has been set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-08-27Fix LTO support for cross-compilation.Arnout Vandecappelle (Essensium/Mind)
When cross-compiling, the ar and ranlib to be used for LTO are prefixed by the cross-tuple. gcc-ar and gcc-ranlib may not exist. Cfr. http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78/ Therefore, search for an appropriate lto-ar and lto-ranlib before enabling LTO. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2016-06-11cmake: results to bin & lib dirsTomi Valkeinen
2016-06-11rename libkms to kms++Tomi Valkeinen
2016-06-11cmake: add option to build shared libsTomi Valkeinen
2016-06-11rename dirsTomi Valkeinen
2016-05-25disable Wmissing-field-initializers when gcc <= 5.0Tomi Valkeinen
2016-05-25Require libdrm >= 2.4.64Tomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen
2016-05-23Automatically use -fltoTomi Valkeinen
2016-05-23improve build typeTomi Valkeinen
2016-04-16add -Wextra & fix warningsTomi Valkeinen
2016-03-20Add LTO optionTomi Valkeinen
2015-11-30remove lua bindingsTomi Valkeinen
2015-11-18Add kmscubeTomi Valkeinen
2015-10-06don't enable lua by defaultTomi Valkeinen
2015-10-01move test utils to libkmstest libraryTomi Valkeinen
2015-10-01add options to turn off py/lua buildTomi Valkeinen
2015-10-01cmake: add (commented out) lines for static libcTomi Valkeinen
2015-10-01Relax cmake minumum version to 2.8 from 3.0. Seems to work fine.Jyri Sarha
2015-09-28move db and testpat to tests/Tomi Valkeinen
2015-09-28Initial versionTomi Valkeinen