diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2018-12-07 19:00:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-15 11:49:56 -0500 |
commit | 80870e2a664e277df0b6c0604bc4c5591aebde67 (patch) | |
tree | e320a1942ebcfec7ef8bbaea3936f1a64ae97235 /.travis.yml | |
parent | 79ffe8c63af3f6b411bf8e1a034c110a7408824d (diff) | |
download | u-boot-80870e2a664e277df0b6c0604bc4c5591aebde67.tar.gz u-boot-80870e2a664e277df0b6c0604bc4c5591aebde67.tar.bz2 u-boot-80870e2a664e277df0b6c0604bc4c5591aebde67.zip |
tools: add a generic config for native tools building
The motivation for this is to allow distributions to distribute all
possible tools in a generic way, avoiding the need of specific tools
building for each machine.
Especially on OpenEmbedded / Yocto Project ecosystem, it is very
common each BSP to end providing their specific tools when they need
to generate images for some SoC (e.g MX23 / MX28 in meta-freescale
case).
Using this, we can package the tools doing:
$: make tools-only_defconfig
$: make tools-only
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
[trini: Add MAINTAINERS entry for myself, add to .travis.yml, make
U-Boot itself buildable to not trip up other frameworks]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index fe2dfce9bf..321fd793a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -336,6 +336,10 @@ matrix: - name: "Check for configs without MAINTAINERS entry" script: - if [ `./tools/genboardscfg.py -f 2>&1 | wc -l` -ne 0 ]; then exit 1; fi + # Ensure host tools build + - name: "Build tools-only" + script: + - make tools-only_config tools-only -j$(nproc) # test/py - name: "test/py sandbox" |