Skip to contentSkip to conversation

Travis-CI: Switch back to using the top of tree dtc

PATCH New Tom Rini 3 participants 3 messages Sep 14, 2017 – Sep 15, 2017

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Travis-CI: Switch back to using the top of tree dtc

In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis was having a problem with the number of warnings that were generated by the newer dtc. This is no longer a concern as we now have the same logic as Linux to enable/disable additional more stringent warnings. Go back to building dtc from source.

---
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
.travis.yml +2 -3
index 4b7f8dd8e4de..b81d733695e1 100644
@@ -26,12 +26,11 @@ addons:
     - grub-efi-ia32-bin
     - rpm2cpio
     - wget
-    - device-tree-compiler
 
 install:
  # install latest device tree compiler
- #- git clone --depth=1 git://git.kernel.org/pub/scm/utils/dtc/dtc.git /tmp/dtc
- #- make -j4 -C /tmp/dtc
+ - git clone --depth=1 git://git.kernel.org/pub/scm/utils/dtc/dtc.git /tmp/dtc
+ - make -j4 -C /tmp/dtc
  # Clone uboot-test-hooks
  - git clone --depth=1 git://github.com/swarren/uboot-test-hooks.git /tmp/uboot-test-hooks
  - ln -s travis-ci /tmp/uboot-test-hooks/bin/`hostname`
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 Travis-CI: Switch back to using the top of tree dtc

Quoted 11 lines · Tom Rini

In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis was having a problem with the number of warnings that were generated by the newer dtc. This is no longer a concern as we now have the same logic as Linux to enable/disable additional more stringent warnings. Go back to building dtc from source.

---
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Tested on travis-ci:

#2 lore raw

PATCH 1/1 Travis-CI: Switch back to using the top of tree dtc

Quoted 11 lines · Tom Rini

In a0f3e3df4adc we switched to using the Ubuntu-provided dtc as travis was having a problem with the number of warnings that were generated by the newer dtc. This is no longer a concern as we now have the same logic as Linux to enable/disable additional more stringent warnings. Go back to building dtc from source.

---
 .travis.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Tested on travis-ci:

Applied to u-boot-fdt thanks!