summaryrefslogtreecommitdiff
path: root/MAKEALL
Commit message (Collapse)AuthorAgeLines
* MAKEALL: update to work with new boards.cfg syntaxAllen Martin2012-09-01-3/+6
| | | | | | | | | | 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>
* MAKEALL: Allow empty ERR directoryAndy Fleming2012-08-09-2/+2
| | | | | | | | | | | 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>
* MAKEALL: Report boards with errors vs warningsJoe Hershberger2012-05-22-6/+20
| | | | | | | | 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>
* MAKEALL: Fix error reporting for BUILD_NBUILDS==1Joe Hershberger2012-05-22-3/+5
| | | | | | | This was broken by f588bb034d5d3a0417f45965f1aba4d4cf8a2893 Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Andy Fleming <afleming@freescale.com>
* Improve MAKEALL parallel buildsAndy Fleming2012-05-18-16/+18
| | | | | | | | | | 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>
* Remove extra boards from LIST_ixpAndy Fleming2012-05-18-4/+1
| | | | | | | | | | | 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>
* Allow for parallel builds and saved outputAndy Fleming2012-04-30-15/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* MAKEALL: Add -m/-M option to determine maintainersMarek Vasut2012-03-30-3/+112
| | | | | | | | | | | | | | | | | 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>
* MAKEALL: display SPL size if presentScott Wood2012-03-26-2/+6
| | | | | | | | 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>
* openrisc: Add architecture to MAKEALLStefan Kristiansson2012-01-13-0/+5
| | | | Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
* ARM: convert "omap730p2" boards to boards.cfgWolfgang Denk2011-12-10-1/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Dave Peverley <dpeverley@mpc-data.co.uk> Acked-by: Tom Rini <trini@ti.com>
* ARM: convert "omap16xx" boards to boards.cfgWolfgang Denk2011-12-10-2/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kshitij Gupta <kshitij@ti.com> Acked-by: Tom Rini <trini@ti.com>
* ARM: convert "apollon" board to use boards.cfgWolfgang Denk2011-12-10-1/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
* MIPS: MAKEALL: fix lists for MIPSel and MIPS boardsDaniel Schwierzeck2011-12-09-9/+2
| | | | | | | | 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>
* MAKEALL: Add -l option to only list build targetsMarek Vasut2011-12-06-2/+13
| | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de>
* MAKEALL: drop obsolete mx31pdk_nand targetStefano Babic2011-11-29-1/+0
| | | | | | | | 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>
* adp-ag101: add board adp-ag101 supportMacpaul Lin2011-10-22-0/+6
| | | | | | | | 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>
* ColdFire: Move boards with simple _config rules to boards.cfgstany MARCEL2011-10-19-6/+0
| | | | Signed-off-by: Stany MARCEL <stany.marcel@novasys-ingenierie.com>
* MIPS: Jz4740: Add qi_lb60 board supportXiangfu Liu2011-10-12-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* MAKEALL: rename coldfire list to m68k to match archMike Frysinger2011-10-05-1/+2
| | | | | | | | | 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>
* MAKEALL: drop boards listed in boards.cfgWolfgang Denk2011-09-10-46/+4
| | | | | | Pick them up automatically using $(boards_by_arch ...) Signed-off-by: Wolfgang Denk <wd@denx.de>
* MAKEALL: drop non-existent "versatile" configurationWolfgang Denk2011-09-10-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* ARM: remove broken "modnet50" board.Wolfgang Denk2011-09-07-9/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Thomas Elste <info@elste.org>
* ARM: remove broken "lpc2292sodimm" board.Wolfgang Denk2011-09-07-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* ARM: remove broken "impa7" board.Wolfgang Denk2011-09-07-1/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Marius Gröger <mag@sysgo.de>
* ARM: remove broken "evb4510" board.Wolfgang Denk2011-09-07-1/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Curt Brune <curt@cucy.com>
* ARM: remove broken "ep7312" board.Wolfgang Denk2011-09-07-1/+0
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Marius Gröger <mag@sysgo.de>
* ARM: remove broken "SMN42" board.Wolfgang Denk2011-09-07-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* ARM: remove broken "voiceblue" boardWolfgang Denk2011-09-04-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "smdk2400" boardWolfgang Denk2011-09-04-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Gary Jennejohn <garyj@denx.de>
* ARM: remove broken "sbc2410x" boardWolfgang Denk2011-09-04-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "netstar" boardWolfgang Denk2011-09-04-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "mx1fs2" boardWolfgang Denk2011-09-04-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "lpd7a40x" boardsWolfgang Denk2011-09-04-1/+0
| | | | | | Remove lpd7a400 and lpd7a404 boards. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "edb93xx" boardsWolfgang Denk2011-09-04-8/+0
| | | | | | | Remove edb9301, edb9302, edb9302a, edb9307, edb9307a, edb9312, edb9315 and edb9315a boards. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ARM: remove broken "B2" boardWolfgang Denk2011-09-04-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Andrea Scian <andrea.scian@dave-tech.it>
* ARM: remove broken "armadillo" boardWolfgang Denk2011-09-04-1/+0
| | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Rowel Atienza <rowel@diwalabs.com>
* integrator: convert to new build systemLinus Walleij2011-09-03-22/+0
| | | | | | | | | | | | | | | | | 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>
* MAKEALL ARMv7: Use boards.cfgDirk Behme2011-09-03-21/+2
| | | | | | Use the boards from boards.cfg for building ./MAKEALL ARMV7. Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
* atmel: Update support of board AT91SAM9M10G45-EK to new styleThomas Petazzoni2011-09-03-3/+1
| | | | | | Based on earlier work by Alex Waterman <awaterman@dawning.com>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* make pm9g45 buildable for v2011.06 releaseAsen Dimov2011-09-03-1/+0
| | | | | | | Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> changed at91_serial_hw_init to at91_seriald_hw_init
* tny_a9260/tny_a9g20: update board to the new AT91 organizationThomas Petazzoni2011-09-03-2/+0
| | | | | | Cc: Albin Tonnerre <tonnerrealbin@gmail.com> CC: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sbc35_a9g20: update board to the new AT91 organizationThomas Petazzoni2011-09-03-1/+0
| | | | | | | | | Cc: Albin Tonnerre <tonnerrealbin@gmail.com> Cc: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de> Removed SBC35 from MAKEALL
* MAKEALL: remove AT91 boards that are in boards.cfgReinhard Meyer2011-08-03-5/+0
| | | | Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
* AT91: Makes AT91SAM9RL-EK build correctly against u-boot-atmel/masterXu, Hong2011-08-03-1/+0
| | | | | | | | | Rework for AT91SAM9RL-EK, makes it build again. Based on the work for AT91SAM9260-EK. V4: added changes to MAKEALL Signed-off-by: Hong Xu <hong.xu@atmel.com> Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
* MAKEALL: remove obsolete at91rm9200 socAndreas Bießmann2011-08-03-1/+0
| | | | | | | Since complete at91rm9200 SoC device was droped (due to replacement with common at91 code) this parameter can safely be removed. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
* MAKEALL: add -h/--help optionsMike Frysinger2011-07-26-52/+50
| | | | | | | | Convert all the comments at the top of the file into help text for people to easily get at with standard -h/--help options. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Detlev Zundel <dzu@denx.de>
* arm/km: add support for portl2 boardValentin Longchamp2011-07-04-0/+1
| | | | | | | | | | | | | | | This adds support for the keymile Kirkwood BEC portl2 board. This board relies on the km_arm (km_kirkwood) BEC. The egiga driver is configured for a 100M full-duplex, A/N off connnection to the backplane. This board has always ethernet present, because it is connected to the marvell switch similar to mgcoge3un. The reset_phy functionality is also the same to mgcoge3un. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Heiko Schocher <hs@denx.de>
* arm/km: replace suenx targets with km_kirkwoodHolger Brunck2011-07-04-1/+1
| | | | | | | | | | | | | | suen3 and suen8 were in first HW version quite different, but now they are from a u-boot point of view similar. So these two boards can use the same header file. Other keymile boards differ only in the usage of the PCI interface. Therefore a target km_kirkwood_pci was introduced. All targets use the same header file. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Heiko Schocher <hs@denx.de>
* nios2: move generic config to boards.cfgMike Frysinger2011-06-30-3/+1
| | | | | | | | | I can't build test this, but just looking at the config files written and it seems OK ... Tested-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Scott McNutt <smcnutt@psyent.com>