30 Commits

Author SHA1 Message Date
Travis Geiselbrecht
be52909f49 [make][buildall] add ability to filter buildall by architecture
Clean up make targets list-arch and list-toolchain to be much faster and
work without needing to invoke the archtecture's arch rules.mk. This
should make it work on machines that do not have that particular
toolchain in the path.

This is setting up for using it in the github action script.
2025-07-18 21:51:50 -07:00
Travis Geiselbrecht
50dc95b85e [scripts][buildall] print if building with WERROR or not
General cleanup of script based on vscode suggestions.
2025-07-18 20:57:07 -07:00
Travis Geiselbrecht
7fff3510a3 [scripts][buildall] hard set WERROR=0 if -e not passed
This allows it to override the WERROR setting if, say, someone put
WERROR?=1 in their local.mk. (It's a good idea)

Note: I can't really leave WERROR enabled in the default build because
of all of the variants of compilers folks use in the wild, but I do
highly suggest folks use it locally.
2025-01-11 17:24:51 -08:00
Travis Geiselbrecht
74864a56c0 [scripts][buildall] catch ctrl-c and abort the script 2024-06-14 15:35:58 -07:00
Aaron Odell
47c8b9a711 [scripts][buildall] Propogate logged error status through pipe tee
In the non-QUIET case, the log function pipes output to the tee command.
Without the pipefail option, if a make command fails, but the tee exits
succesfully, the overall status is 0 and the failed project doesn't get
added to the FAILED list and reported. Adding the pipefail option
propagates the make failure appropriately and adds the target to the
FAILED list.
2023-04-23 17:34:45 -07:00
Travis Geiselbrecht
3dff26ae7b [make] add BUILDDIR_SUFFIX build variable
This allows you to tag your build dirs with an optional string.

Update scripts/buildall to also allow building all release (DEBUG=0)
builds. Add a few other convenience switches.
2022-07-23 15:57:53 -07:00
Travis Geiselbrecht
41a7937444 [scripts] add parallel building script and use it in most build scripts 2019-03-30 20:06:12 -07:00
John Grossman
73900af915 [lk][tools] Fix a small error in the buildall script.
Make use of the -j level which was computed in the script instead of
hardcoding to -j4

Change-Id: I99bf175709d1a2c8757fe73a7ddbb6361d431e69
Signed-off-by: John Grossman <johngro@google.com>
2015-05-08 10:45:51 -07:00
Travis Geiselbrecht
d544af0557 [scripts][buildall] only build projects that end in .mk 2015-03-03 14:29:31 -08:00
Travis Geiselbrecht
f63e635ca2 [scripts][buildall] remove useless line 2013-05-25 11:32:48 -07:00
Travis Geiselbrecht
f2342458cb [scripts][buildall] try to guess the number of cpus on linux machines 2013-05-25 11:31:00 -07:00
Travis Geiselbrecht
2fa5d6f36b [scripts][buildall] change the logic to build everything in the projects dir 2013-05-25 11:09:23 -07:00
Travis Geiselbrecht
16e74b3d01 [scripts][buildall] add stellaris-launchpad-test to the list 2013-03-13 01:39:44 -07:00
Travis Geiselbrecht
34481a6ae2 [scripts][buildall] switch buildall to a multi line format and add realview-pb 2012-12-30 18:02:15 -08:00
Travis Geiselbrecht
9202b462a1 [sam7ex256] remove the at91sam7 and sam7ex256 platform and target
The first port of lk, RIP.
2012-10-30 21:07:10 -07:00
Travis Geiselbrecht
b42399ac47 [buildall] add stm32-p407-test to the buildall script 2012-10-14 21:07:03 -07:00
Travis Geiselbrecht
c543575c1d [buildall] add beaglebone-test to the list 2012-10-13 21:20:47 -07:00
Travis Geiselbrecht
1a32db03cc [scripts][buildall] add stm3220g 2012-10-07 13:48:51 -07:00
Travis Geiselbrecht
500c9450b5 [buildall] remove the surf-* target from the buildall script 2012-09-14 19:33:17 -07:00
Travis Geiselbrecht
c3077ee824 [target][qemu-arm] remove qemu-arm
another casualty
2012-09-02 20:00:52 -07:00
Travis Geiselbrecht
113a7e2c01 [target][stm3210e] remove stm3210e
wasn't working anyway
2012-09-02 19:57:22 -07:00
Travis Geiselbrecht
8cb6fbedc2 [scripts] have buildall nice the build and use -j4 2012-08-31 15:42:44 -07:00
Travis Geiselbrecht
d0dd9c83f5 [buildall] add stm32-h103-test to the buildall script 2012-07-14 15:42:06 -07:00
Travis Geiselbrecht
418c8b8baa [buildall] add sam3x-ek to the buildall script 2012-06-27 19:43:10 -07:00
Travis Geiselbrecht
6e499b565f [buildall] add stm32-p107 to the buildall script 2012-05-10 16:31:31 -07:00
Travis Geiselbrecht
a031a39ab6 [stm32] add stm3210e target 2012-01-24 16:34:04 -08:00
Travis Geiselbrecht
40b40cb714 [scripts] spiff up buildall to report projects that fail to build 2010-06-04 13:57:55 -07:00
Travis Geiselbrecht
1c87cc2f79 [target][surf] add surf-test to the buildall script 2009-01-01 05:34:09 -08:00
Travis Geiselbrecht
5bfddfb66a remove lwip, never really worked anyway 2008-09-01 02:56:25 -07:00
Travis Geiselbrecht
1d0df69964 initial commit of lk (little kernel) project 2008-09-01 02:26:09 -07:00