diff --git a/makefile b/makefile
index f8ea211dae89a620f8b9b7df884f09480663280d..fec1e200d3f7f80198dd062633c7676c84276ef5 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
build-viewer:
$(MAKE) TARGET=$(VIEWER_TARGET) -C viewer
+build-python-so:
+ $(MAKE) -C tidl_api tidl.so
+
clean:
$(MAKE) -C tidl_api clean
$(MAKE) -C examples clean