15 Commits

Author SHA1 Message Date
Dave Stevenson
8b8f6571b6 buildme: Add option for ARM64 builds via either native or cross compile
Supports native builds on aarch64 machines.

Supports making a 64-bit build via either cross compiling, or on
aarch64 machines.
Both options require the addition of --aarch64 to the command line,
otherwise 32-bit libraries will be built.

Cross compiling requires the aarch64-linux-gnu- compile tools to
be installed (packages gcc-5-aarch64-linux-gnu and g++-aarch64-linux-gnu
on Ubuntu).
2019-03-05 10:53:04 +00:00
Guillermo A. Amaral
9c42baea7b Install interface/peer headers.
Currently vc_vchi_dispmanx.h requires vc_vchi_dispmanx_common.h which is
not distributed on install. This limits access to the ELEMENT_CHANGE_*
defines.
2018-01-18 16:23:20 +00:00
Ryan Finnie
1250b73f53 Add ARM64 CMake variable for 64-bit targets
At the moment, much of the codebase compiles on 64-bit targets, but not
all (mostly 32-bit assembly).  -DARM64=ON allows for skipping
directories which currently do not compile correctly.

This is backwards compatible with existing behavior (i.e. no -DARM on a
32-bit target compiles everything as before), and hopefully will
ultimately become unnecessary as remaining components are fixed for
64-bit use.
2016-10-30 12:58:02 +00:00
Ryan Finnie
dff576057c Allow command-line overriding of VMCS_PLUGIN_DIR (#309) 2016-04-24 18:40:00 +01:00
Guillaume GARDET
babd8ddb48 Allow to override VMCS_INSTALL_PREFIX 2016-02-18 15:06:28 +01:00
popcornmix
190bf8cb4b cmake: Add -marm for building with generic toolchain 2016-02-01 21:06:24 +00:00
Andy Sloane
acc5ab3fcc Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
This way, the userland top-level CMakeLists.txt can be included with
add_subdirectory() from another project, e.g., as a submodule.
2014-09-29 13:34:18 -04:00
David M. Palmer
775cf0bb88 Native build
Changes to allow the Raspberry Pi to natively build the userland.
Assumes that any armv6l (as returned by the arch(1) command)
is a Raspberry Pi and changes the compile accordingly.
Fix for issues #2 and #79
2013-09-07 19:28:17 +01:00
Dom Cobley
1913c69b91 Add -c to CMAKE_ASM_FLAGS which was causing a build issue in some environments 2013-05-24 17:47:47 +01:00
Dom Cobley
8700279495 Update userland to match latest firmware.
Pull requests for accelerated khronos hash and improved testing for execinfo
2013-01-22 18:27:19 +00:00
popcornmix
f7b1cad784 Merge pull request #7 from maxnet/master
Test for the existence of execinfo.h
2013-01-22 09:37:01 -08:00
Dom Cobley
9852ce2882 Update master branch to next 2012-12-27 19:00:17 +00:00
Floris Bos
93ae1bcd80 Test for the existence of execinfo.h
Previous code assumed that on Linux the execinfo.h functions are always available, which is a glibc extension.
This change fixes building the library under buildroot, which uses uClibc by default
2012-11-25 19:05:07 +01:00
Dom Cobley
61232b4033 Add hello_pi apps and bcm_host.h to userland. Merge with latest code. 2012-11-13 01:59:50 +00:00
popcornmix
729c0e6562 Initial import of userland code 2012-10-24 11:42:57 +01:00