diff options
author | Paul Spooren <mail@aparcar.org> | 2020-08-03 07:31:43 -1000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-08-04 09:28:39 +0200 |
commit | 656b562aff36d92b0e8586833b59896a55b8a993 (patch) | |
tree | f7be3975b63000f436c35976e970993dae3f6eb6 /scripts/clang-gcc-wrapper | |
parent | 009e62c92c35142c5be3b375d6c393e63d2d27eb (diff) | |
download | upstream-656b562aff36d92b0e8586833b59896a55b8a993.tar.gz upstream-656b562aff36d92b0e8586833b59896a55b8a993.tar.bz2 upstream-656b562aff36d92b0e8586833b59896a55b8a993.zip |
scripts: Add Buildbot dump-target-info.pl script
The script comes from buildbot.git[0] and is used to print available
targets and architectures, which are then build.
As the buildbot clones openwrt.git anyway, the script might as well live
here to be used for other cases as well, e.g. determining what
architectures are available when building Docker containers or show
developers an overview which architectures are used by which target.
It's called with either the parameter `architectures` or `targets`,
showing architectures followed by supported targets or targets, followed
by the supported architectures:
$ ./scripts/dump-target-info.pl architectures
aarch64_cortex-a53 bcm27xx/bcm2710 mediatek/mt7622 mvebu/cortexa53 sunxi/cortexa53
aarch64_cortex-a72 bcm27xx/bcm2711 mvebu/cortexa72
...
$ ./scripts/dump-target-info.pl targets
apm821xx/nand powerpc_464fp
apm821xx/sata powerpc_464fp
...
In the future the the script could be removed from the buildbot
repository and maintained only here.
Rename `dumpinfo.pl` to `dump-target-info.pl` to improve verbosity of
filename.
[0]: https://git.openwrt.org/?p=buildbot.git;a=blob;f=scripts/dumpinfo.pl;h=aa97f8d60379076a41b968402e9337cea824ece5;hb=HEAD
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'scripts/clang-gcc-wrapper')
0 files changed, 0 insertions, 0 deletions