summaryrefslogtreecommitdiff
path: root/MAKEALL
Commit message (Collapse)AuthorAgeLines
* arc: add architecture to MAKEALLAlexey Brodkin2014-02-07-0/+6
| | | | | | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Vineet Gupta <vgupta@synopsys.com> Cc: Francois Bedard <fbedard@synopsys.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de>
* arm64: MAKEALL, filter armv8 boards from LIST_armDavid Feng2014-01-09-1/+11
| | | | Signed-off-by: David Feng <fenghua@phytium.com.cn>
* MAKEALL: add -b (--board) optionMasahiro Yamada2013-11-25-2/+15
| | | | | | | | | | | | | Some board have multiple configurations. For example, the board "m54455evb" has many configurations: M54455EVB, M54455EVB_a66, M54455EVB_i66, M54455EVB_intel, ... When we modify board-related files, we need to test all configurations based on such a board. In such a case, the new option -b is useful. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
* MAKEALL: rename boards_by_* functions to targets_by_*Masahiro Yamada2013-11-08-41/+41
| | | | | | | | | | | We expect boards_by_* function to return the 7th filed, 'Target', not the 6th field, 'Board name'. So the function names, boards_by_* are a little misleading, and should be renamed to targets_by_*. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* MAKEALL: fix boards_by_field functionMasahiro Yamada2013-11-08-9/+7
| | | | | | | | | | | | Commit 27af930e changed the boards.cfg format and it changed boards_by_field() function incorrectly. For tegra cpus it returned Board Name field, not Target field. This commit restores the behavior prior to 27af930e in the right way. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* MAKEALL: fix a bug to use CROSS_COMPILE_<ARCH>Masahiro Yamada2013-11-08-1/+1
| | | | | | | | | | Commit 27af930e changed the boards.cfg format but missed to change get_target_arch() fuction. This commit adjusts it for CROSS_COMPILE_<ARCH> to work correctly. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* MAKEALL: fix awk warning messageMasahiro Yamada2013-11-08-2/+2
| | | | | | | | | | | | If you do `./MAKEALL -M ` or `./MAKEALL -m` GNU awk would display warnings like follows: awk: warning: escape sequence `\ ' treated as plain ` ' In the first place, we do not explicitly set the field separator. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
* Coding Style cleanup: replace leading SPACEs by TABsWolfgang Denk2013-10-14-2/+2
| | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Drop changes for PEP 4 following python tools] Signed-off-by: Tom Rini <trini@ti.com>
* omap1510inn: arm925t: remove supportAlbert ARIBAUD2013-10-07-1/+0
| | | | | | | | | omap1510inn is orphan and has been for years now. Reove it and, as it was the only arm925t target, also remove arm925t support. Update doc/README.scrapyard accordingly. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
* Merge and reformat boards.cfg and MAINTAINERSAlbert ARIBAUD2013-09-12-27/+24
| | | | | | | | Put all informations about targets, including state (active or orphan) and maintainers, in boards.cfg; remove MAINTAINERS; adjust the build system accordingly. Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
* Licenses: introduce SPDX Unique Lincense IdentifiersWolfgang Denk2013-07-24-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like many other projects, U-Boot has a tradition of including big blocks of License headers in all files. This not only blows up the source code with mostly redundant information, but also makes it very difficult to generate License Clearing Reports. An additional problem is that even the same lincenses are referred to by a number of slightly varying text blocks (full, abbreviated, different indentation, line wrapping and/or white space, with obsolete address information, ...) which makes automatic processing a nightmare. To make this easier, such license headers in the source files will be replaced with a single line reference to Unique Lincense Identifiers as defined by the Linux Foundation's SPDX project [1]. For example, in a source file the full "GPL v2.0 or later" header text will be replaced by a single line: SPDX-License-Identifier: GPL-2.0+ We use the SPDX Unique Lincense Identifiers here; these are available at [2]. Note: From the legal point of view, this patch is supposed to be only a change to the textual representation of the license information, but in no way any change to the actual license terms. With this patch applied, all files will still be licensed under the same terms they were before. Note 2: The apparent difference between the old "COPYING" and the new "Licenses/gpl-2.0.txt" only results from switching to the upstream version of the license which is differently formatted; there are not any actual changes to the content. Note 3: There are some recurring questions about linense issues, such as: - Is a "All Rights Reserved" clause a problem in GPL code? - Are files without any license header a problem? - Do we need license headers at all? The following excerpt from an e-mail by Daniel B. Ravicher should help with these: | Message-ID: <4ADF8CAA.5030808@softwarefreedom.org> | Date: Wed, 21 Oct 2009 18:35:22 -0400 | From: "Daniel B. Ravicher" <ravicher@softwarefreedom.org> | To: Wolfgang Denk <wd@denx.de> | Subject: Re: GPL and license cleanup questions | | Mr. Denk, | | Wolfgang Denk wrote: | > - There are a number of files which do not include any specific | > license information at all. Is it correct to assume that these files | > are automatically covered by the "GPL v2 or later" clause as | > specified by the COPYING file in the top level directory of the | > U-Boot source tree? | | That is a very fact specific analysis and could be different across the | various files. However, if the contributor could reasonably be expected | to have known that the project was licensed GPLv2 or later at the time | she made her contribution, then a reasonably implication is that she | consented to her contributions being distributed under those terms. | | > - Do such files need any clean up, for example should we add GPL | > headers to them, or is this not needed? | | If the project as a whole is licensed under clear terms, you need not | identify those same terms in each file, although there is no harm in | doing so. | | > - There are other files, which include both a GPL license header | > _plus_ some copyright note with an "All Rights Reserved" clause. It | > has been my understanding that this is a conflict, and me must ask | > the copyright holders to remove such "All Rights Reserved" clauses. | > But then, some people claim that "All Rights Reserved" is a no-op | > nowadays. License checking tools (like OSLC) seem to indicate this is | > a problem, but then we see quite a lot of "All rights reserved" in | > BSD-licensed files in gcc and glibc. So what is the correct way to | > deal with such files? | | It is not a conflict to grant a license and also reserve all rights, as | implicit in that language is that you are reserving all "other" rights | not granted in the license. Thus, a file with "Licensed under GPL, All | Rights Reserved" would mean that it is licensed under the GPL, but no | other rights are given to copy, modify or redistribute it. | | Warm regards, | --Dan | | Daniel B. Ravicher, Legal Director | Software Freedom Law Center (SFLC) and Moglen Ravicher LLC | 1995 Broadway, 17th Fl., New York, NY 10023 | (212) 461-1902 direct (212) 580-0800 main (212) 580-0898 fax | ravicher@softwarefreedom.org www.softwarefreedom.org [1] http://spdx.org/ [2] http://spdx.org/licenses/ Signed-off-by: Wolfgang Denk <wd@denx.de>
* Revert "MIPS: Jz4740: Add qi_lb60 board support"Tom Rini2013-07-15-5/+0
| | | | | | | | | | The files board/qi/qi_lb60/qi_lb60.c and include/configs/qi_lb60.h were licensed under the GPL v3 or later, and not v2 or later. As this is incompatible with the project, revert this board support until the responsible parties are available to re-license (if so desired) under GPL v2. Signed-off-by: Tom Rini <trini@ti.com>
* Power: remove support for Freescale MPC8220Wolfgang Denk2013-05-15-7/+0
| | | | | | | | | | 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>
* MAKEALL: Fix case substitution for old bashYork Sun2013-04-02-1/+1
| | | | | | | | 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>
* MAKEALL: allow regex matches for -s optionStephen Warren2013-03-27-2/+2
| | | | | | | | | | | | | | | | 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>
* MAKEALL: fix kill_children for BSD hostsAndreas Bießmann2013-03-11-2/+14
| | | | | | | | | | | | | | | | | 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>
* MAKEALL: add support for per architecture toolchainsAllen Martin2013-02-20-7/+25
| | | | | | | | | | | 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>
* MAKEALL: Add options for incremental buildingJoe Hershberger2012-12-06-8/+33
| | | | | | | | | | | | | --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>
* MAKEALL: Fix kill_childrenJoe Hershberger2012-12-06-2/+24
| | | | | | | | | | | | | 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>
* MAKEALL: Add spear platform target to compile all SPEAr boardsStefan Roese2012-11-07-0/+6
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* MAKEALL: Add -s to '${MAKE} tidy' sectionTom Rini2012-10-29-1/+1
| | | | | | | | | 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>
* MAKEALL: add a -C/--check option to enable build checkingKim Phillips2012-10-15-3/+7
| | | | | | thanks to Tom Rini for the good idea. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* gth2: Remove this platformTom Rini2012-10-15-1/+0
| | | | | | | After taking with the former maintainer, delete this platform. The patch is from the former maintainer. Signed-off-by: Tom Rini <trini@ti.com>
* MAKEALL: fix per arch board listsAllen Martin2012-09-25-19/+15
| | | | | | | | | | | | | 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>
* 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>