diff --git a/makefile b/makefile
index f8ea211dae89a620f8b9b7df884f09480663280d..e94e5869ce12a1360de5c214039be59570b69ffd 100644 (file)
--- a/makefile
+++ b/makefile
ifneq (,$(findstring 86, $(shell uname -m)))
DEST_DIR ?= $(CURDIR)/install/am57
VIEWER_TARGET=x86
+ifeq ($(TARGET_ROOTDIR),)
+$(error Set TARGET_ROOTDIR to the ARM Linux devkit/filesystem)
+endif
else
VIEWER_TARGET=arm
endif