travis: Actually build for arm

Before this we cached the whole `external` directory, but that lead to
stale files since the cache is checked out after the repository is
cloned.
This commit is contained in:
Niklas Claesson
2020-01-29 21:13:09 +01:00
committed by Christian Decker
parent e0aef66ce2
commit 601464416b
4 changed files with 22 additions and 23 deletions

5
external/Makefile vendored
View File

@@ -4,13 +4,12 @@ SUBMODULES = \
external/jsmn \
external/libbacktrace
TOP := ../..
ifdef BUILD
CROSSCOMPILE_OPTS := --host="$(MAKE_HOST)" --build="$(BUILD)"
TARGET_DIR := external/"$(MAKE_HOST)"
TOP := ../..
else
TARGET_DIR := external
TOP := ..
TARGET_DIR := external/"$(shell gcc -dumpmachine)"
endif
LIBSODIUM_HEADERS := external/libsodium/src/libsodium/include/sodium.h