13 Commits

Author SHA1 Message Date
Christer Solskogen
666d281a7a Replace 'arch' with uname 2019-11-07 11:21:57 +00:00
Dave Stevenson
391c04647b Review fixups 2019-03-05 10:53:04 +00:00
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
Dave Stevenson
ea29d9ac52 Use nproc build jobs
Fixes #377.
Replace hard coded -j6 in make lines for -j `nproc`
to adopt the same number of jobs as processor cores.

Discussion abounds as to whether there is a better
multiple for CPU vs I/O speeds, but it's better than
always using 6.
2017-04-05 14:30:10 +01:00
luked99
8ceef81d48 buildme: fix whitespace (#352)
No changes other than whitespace.
2016-10-30 13:22:07 +00:00
Luke Diamand
9f0f3f4a73 buildme: avoid shell expansion of tr expression
Quote the tr expression to prevent the shell expanding it if
there happens to be a file called [a-z] or [A-Z], for example, a
file called "a".
2016-09-29 19:53:38 +01:00
Phil Elwell
68de46dc8b Add --debug and --native options to buildme 2016-06-27 17:45:10 +01:00
Dave Stevenson
da7cab9fac Alter buildme to use multiple jobs and install on a Pi2 2015-04-27 17:11:06 +00:00
Markus Mattinen
36a20b6d92 Fix typo in buildme shebang
Fixes #176.
2015-04-17 23:10:09 +03:00
Dom Cobley
9f12d95085 userland: User /bin/bash for buildme script 2014-05-29 16:52:30 +01: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
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