examples: Add layers group command line parameter
[tidl/tidl-api.git] / makefile
index f8ea211dae89a620f8b9b7df884f09480663280d..fec1e200d3f7f80198dd062633c7676c84276ef5 100644 (file)
--- a/makefile
+++ b/makefile
@@ -35,6 +35,9 @@
 ifneq (,$(findstring 86, $(shell uname -m)))
 DEST_DIR ?= $(CURDIR)/install/am57
 VIEWER_TARGET=x86
 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
 else
 VIEWER_TARGET=arm
 endif
@@ -68,6 +71,9 @@ install-examples: build-examples
 build-viewer:
        $(MAKE) TARGET=$(VIEWER_TARGET) -C viewer
 
 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
 clean:
        $(MAKE) -C tidl_api     clean
        $(MAKE) -C examples     clean