summaryrefslogtreecommitdiff
path: root/MAKEALL
AgeCommit message (Collapse)Author
2013-05-15Power: remove support for Freescale MPC8220Wolfgang Denk
The Freescale MPC8220 Power Architecture processors have long reached EOL; Freescale does not even list these any more on their web site. Remove the code to avoid wasting maitaining efforts on dead stuff. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Andy Fleming <afleming@gmail.com>
2013-04-02MAKEALL: Fix case substitution for old bashYork Sun
Bash ver 3.x doesn't support the parameter expansion with case substitution. Use tr instead. Signed-off-by: York Sun <yorksun@freescale.com> Acked-by: Allen Martin <amartin@nvidia.com>
2013-03-27MAKEALL: allow regex matches for -s optionStephen Warren
This allows: MAKEALL -s tegra to replace: MAKEALL -s tegra20 -s tegra30 -s tegra114 The following also works: MAKEALL -s tegra -s omap Signed-off-by: Stephen Warren <swarren@nvidia.com>
2013-03-11MAKEALL: fix kill_children for BSD hostsAndreas Bießmann
ps on BSD hosts (like OS X) do not provide the --no-headers switch nor understand the AIX format descriptions. Unfortunately there seems no solution to get the PIDs of children in a platfrom independent manner. Therefore detect the OS and decide upon that which way to go. This patch makes the MAKEALL script cleanly stoppable on bare OS X when using the parallel builds of targets. Additionally this patch removes double call to grep by a single call to sed for GNU style child PID detection. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2013-02-20MAKEALL: add support for per architecture toolchainsAllen Martin
Add support for per architecture CROSS_COMPILE toolchain definitions via CROSS_COMPILE_ARCH where "ARCH" is any of the supported u-boot architectures. This allows building every supported u-boot board in a single pass of MAKEALL. Signed-off-by: Allen Martin <amartin@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@wwwdotorg.org>
2012-12-06MAKEALL: Add options for incremental buildingJoe Hershberger
--continue will allow you to <ctrl-c> the MAKEALL and pick up where you left off. --rebuild-errors will allow you to rebuild only those boards which had trouble on the last run of MAKEALL, allowing you to quickly test a simple fix on just those boards. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2012-12-06MAKEALL: Fix kill_childrenJoe Hershberger
When building in parallel, make sure that we look up the children based on the the actual process group id instead of just assuming that the MAKEALL pid is the process group id. Also ensure that logs from incomplete builds are deleted in the process. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
2012-11-07MAKEALL: Add spear platform target to compile all SPEAr boardsStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2012-10-29MAKEALL: Add -s to '${MAKE} tidy' sectionTom Rini
When BUILD_NBUILDS is > 1 we run the tidy command. With the addition of DocBook this now includes a -C doc/DocBook and a 'entering/leaving' pair of messages happen. Since we don't want to see what's being cleaned here, we can just invoke make -s like we do when building. Signed-off-by: Tom Rini <trini@ti.com>
2012-10-15MAKEALL: add a -C/--check option to enable build checkingKim Phillips
thanks to Tom Rini for the good idea. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2012-10-15gth2: Remove this platformTom Rini
After taking with the former maintainer, delete this platform. The patch is from the former maintainer. Signed-off-by: Tom Rini <trini@ti.com>
2012-09-25MAKEALL: fix per arch board listsAllen Martin
The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to use boards_by_arch() which is less error prone. After this change "./MAKEALL arm" and "./MAKEALL -a arm" build the same boards. Also fix up some missing and duplicate boards to arm, mips, and m68k. Signed-off-by: Allen Martin <amartin@nvidia.com> Acked-by: Tom Rini <trini@ti.com>
2012-09-01MAKEALL: update to work with new boards.cfg syntaxAllen Martin
Update MAKEALL to handle the optional SPL CPU field that was added to boards.cfg. This impacts the cases in MAKEALL that have to match against CPU type (field 3). In these cases use ':' as a field separator to split the u-boot CPU from the SPL CPU. Signed-off-by: Allen Martin <amartin@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
2012-08-09MAKEALL: Allow empty ERR directoryAndy Fleming
If we build everything correctly with multiple builds, and an ERR directory had been previously created, we failed to report that everything was fine because grep failed to find anything in the ERR directory. Use grep -r, which doesn't complain if there are no input files. Signed-off-by: Andy Fleming <afleming@freescale.com> Tested-by: Tom Rini <trini@ti.com>
2012-05-22MAKEALL: Report boards with errors vs warningsJoe Hershberger
In the summary, indicate which boards errored and which boards merely warned. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Andy Fleming <afleming@freescale.com>
2012-05-22MAKEALL: Fix error reporting for BUILD_NBUILDS==1Joe Hershberger
This was broken by f588bb034d5d3a0417f45965f1aba4d4cf8a2893 Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Andy Fleming <afleming@freescale.com>
2012-05-18Improve MAKEALL parallel buildsAndy Fleming
The patch that added parallel builds broke MAKEALL -l, so this fixes that. At the same time, it improves the termination so that it shuts down the build threads if you cancel the build. Lastly, it removes a bunch of debug code. Signed-off-by: Andy Fleming <afleming@freescale.com> Tested-by: Wolfgang Denk <wd@denx.de>
2012-05-18Remove extra boards from LIST_ixpAndy Fleming
pdnb3 and scpu are explicitly on LIST_ixp, even though they are also specified in boards.cfg as having cpu ixp. This means that they will be built twice when doing ./MAKEALL ixp, or ./MAKEALL arm. This was pointless before, but actually breaks things if you launch both builds at the same time, as they overwrite each other. Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-04-30Allow for parallel builds and saved outputAndy Fleming
The MAKEALL script cleverly runs make with the appropriate options to use all of the cores on the system, but your average U-Boot build can't make much use of more than a few cores. If you happen to have a many-core server, your builds will leave most of the system idle. In order to make full use of such a system, we need to build multiple targets in parallel, and this requires directing make output into multiple directories. We add a BUILD_NBUILDS variable, which allows users to specify how many builds to run in parallel. When BUILD_NBUILDS is set greater than 1, we redefine BUILD_DIR for each build to be ${BUILD_DIR}/${target}. Also, we make "./build" the default BUILD_DIR when BUILD_NBUILDS is greater than 1. MAKEALL now tracks which builds are still running, and when one finishes, it starts a new build. Once each build finishes, we run "make tidy" on its directory, to reduce the footprint. As a result, we are left with a build directory with all of the built targets still there for use, which means anyone who wanted to use MAKEALL as part of a test harness can now do so. Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-03-30MAKEALL: Add -m/-M option to determine maintainersMarek Vasut
The -m option tries to find the board in MAINTAINERS file and figure out the email. The -M option lists boards including their maintainers emails and all affiliated emails. There are multiple strategies used to retrieve these emails: 1) Check board/<boardname> with git log and use three most recent emails 2) Check board/<boardname> with git log and use three most used emails 3) Try finding board in MAINTAINERS file and retrieve all emails from there The result is then sorted and unique results are retrieved and reported. For -m option, only strategy 3) is used. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de>
2012-03-26MAKEALL: display SPL size if presentScott Wood
This makes it easier to detect changes in the SPL portion, as can currently be done for the main U-Boot image. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Tom Rini <trini@ti.com>
2012-01-13openrisc: Add architecture to MAKEALLStefan Kristiansson
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
2011-12-10ARM: convert "omap730p2" boards to boards.cfgWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Dave Peverley <dpeverley@mpc-data.co.uk> Acked-by: Tom Rini <trini@ti.com>
2011-12-10ARM: convert "omap16xx" boards to boards.cfgWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kshitij Gupta <kshitij@ti.com> Acked-by: Tom Rini <trini@ti.com>
2011-12-10ARM: convert "apollon" board to use boards.cfgWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
2011-12-09MIPS: MAKEALL: fix lists for MIPSel and MIPS boardsDaniel Schwierzeck
Build dbau1550_el only in LIST_au1xx0_el and LIST_mips_el. Also remove obsolete lists for mips5kc. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Cc: Thomas Lange <thomas@corelatus.se>
2011-12-06MAKEALL: Add -l option to only list build targetsMarek Vasut
Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de>
2011-11-29MAKEALL: drop obsolete mx31pdk_nand targetStefano Babic
The mx31pdk can boot only from NAND and the target was already updated in boards.cfg. mx31pdk_nand is obsolete and is dropped. Signed-off-by: Stefano Babic <sbabic@denx.de>
2011-10-22adp-ag101: add board adp-ag101 supportMacpaul Lin
Add evaluation board "adp-ag101" configuration file adp-ag101.h. Add adp-ag101.c board config and related settings. Add board adp-ag101 into boards.cfg Signed-off-by: Macpaul Lin <macpaul@andestech.com>
2011-10-19ColdFire: Move boards with simple _config rules to boards.cfgstany MARCEL
Signed-off-by: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
2011-10-12MIPS: Jz4740: Add qi_lb60 board supportXiangfu Liu
Add support for the qi_lb60 (a.k.a QI Ben NanoNote) clamshell device from Qi hardware: http://en.qi-hardware.com/wiki/Ben_NanoNote http://en.qi-hardware.com/wiki/Main_Page http://en.wikipedia.org/wiki/Qi_hardware This Jz4740-based clamshell device does not use NOR flash to boot. The initial bring-up assumes that U-Boot is directly loaded into SDRAM using USB boot tool, and starts from 0x80100000. About USB boot tool ------------------- Jz4740 is one of the XBurst processors with USB boot functionality supported. The CPU can boot from a small ROM in the LSI, initialize CPU and USB module, then wait for USB commands from the USB host. We can send 8 KB binary data to the CPU cache using USB boot tool. USB boot tool is available to the public at Ingenic website. Also there is an alternative Debian package named xburst-tools. Signed-off-by: Xiangfu Liu <xiangfu@openmobilefree.net> Acked-by: Daniel <zpxu@ingenic.cn> Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
2011-10-05MAKEALL: rename coldfire list to m68k to match archMike Frysinger
The m68k tree is the only one where `./MAKEALL <arch>` does not work. So rename the existing coldfire list in the MAKEALL script to m68k, and add an alias from coldfire to m68k. This makes scripting around MAKEALL easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-09-10MAKEALL: drop boards listed in boards.cfgWolfgang Denk
Pick them up automatically using $(boards_by_arch ...) Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-10MAKEALL: drop non-existent "versatile" configurationWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
2011-09-07ARM: remove broken "modnet50" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Thomas Elste <info@elste.org>
2011-09-07ARM: remove broken "lpc2292sodimm" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
2011-09-07ARM: remove broken "impa7" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Marius Gröger <mag@sysgo.de>
2011-09-07ARM: remove broken "evb4510" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Curt Brune <curt@cucy.com>
2011-09-07ARM: remove broken "ep7312" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Marius Gröger <mag@sysgo.de>
2011-09-07ARM: remove broken "SMN42" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
2011-09-04ARM: remove broken "voiceblue" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "smdk2400" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Gary Jennejohn <garyj@denx.de>
2011-09-04ARM: remove broken "sbc2410x" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "netstar" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "mx1fs2" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "lpd7a40x" boardsWolfgang Denk
Remove lpd7a400 and lpd7a404 boards. Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "edb93xx" boardsWolfgang Denk
Remove edb9301, edb9302, edb9302a, edb9307, edb9307a, edb9312, edb9315 and edb9315a boards. Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-09-04ARM: remove broken "B2" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Andrea Scian <andrea.scian@dave-tech.it>
2011-09-04ARM: remove broken "armadillo" boardWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Rowel Atienza <rowel@diwalabs.com>
2011-09-03integrator: convert to new build systemLinus Walleij
This deletes the integrator split_by_variant.sh script and defines a number of unique board types for the core modules that are meaningful to support for the Integrator AP/CP, i.e. the ones that did not just say "unsupported core module" in split_by_variant.sh. If more core modules need to be supported they are easy to add. We delete all the old cruft in Makefile and MAKEALL that was working around the old way of building boards. We create a unique config file per board to satisfy the build system, but they are just oneliners that include the existing integratorap.h and integratorcp.h configs. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>