Skip to content

Commit 58540cf

Browse files
committed
ci,build: add minor hack for nios2 device-trees
The dtb building logic requires a Makefile in arch/$arch/boot/dts/Makefile, even if it's just empty. nios2 does not have one, so add one. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
1 parent c075f8a commit 58540cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ci/travis/run-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@ build_dtb_build_test() {
191191
ARCH=$arch make defconfig
192192
last_arch=$arch
193193
fi
194+
# XXX: hack for nios2, which doesn't have `arch/nios2/boot/dts/Makefile`
195+
# but even an empty one is fine
196+
if [ ! -f arch/$arch/boot/dts/Makefile ] ; then
197+
touch arch/$arch/boot/dts/Makefile
198+
fi
194199
ARCH=$arch make ${dtb_file} -j$NUM_JOBS || exit 1
195200
done
196201
}

0 commit comments

Comments
 (0)