From 5d33614c52f8c7878a1a5f174f5f4871a1ae107d Mon Sep 17 00:00:00 2001 From: xuchen Date: Mon, 16 May 2016 11:10:31 -0700 Subject: [PATCH] makefile support for rpi --- swig/python/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swig/python/Makefile b/swig/python/Makefile index 22d06911..ce0f7279 100644 --- a/swig/python/Makefile +++ b/swig/python/Makefile @@ -31,6 +31,9 @@ else # would like to be able to move the library to a machine without Atlas. LDLIBS := -lm -ldl -lf77blas -lcblas -llapack_atlas -latlas SNOWBOYDETECTLIBFILE = $(TOPDIR)/lib/ubuntu64/libsnowboy-detect.a + ifneq (,$(findstring arm,$(shell uname -m))) + SNOWBOYDETECTLIBFILE = $(TOPDIR)/lib/rpi/libsnowboy-detect.a + endif endif all: $(SNOWBOYSWIGLIBFILE) $(SNOWBOYDETECTSWIGLIBFILE)