6855f7ff26
mraa build system is looking for a python interpreter >= 2.7 on the host due to a typo in MRAA_CONF_OPTS. We must use -DBUILDTESTS=OFF instead of -DTESTS=OFF. Fixes: http://autobuild.buildroot.net/results/5f0/5f047c4c28b34f6b1bf2306a2b00bcc6a7481c01 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
618 B
Makefile
26 lines
618 B
Makefile
################################################################################
|
|
#
|
|
# mraa
|
|
#
|
|
################################################################################
|
|
|
|
MRAA_VERSION = v0.9.1
|
|
MRAA_SITE = $(call github,intel-iot-devkit,mraa,$(MRAA_VERSION))
|
|
MRAA_LICENSE = MIT
|
|
MRAA_LICENSE_FILES = COPYING
|
|
MRAA_INSTALL_STAGING = YES
|
|
|
|
# USBPLAT only makes sense with FTDI4222, which requires the ftd2xx library,
|
|
# which doesn't exist in buildroot
|
|
|
|
MRAA_CONF_OPTS += \
|
|
-DBUILDSWIG=OFF \
|
|
-DUSBPLAT=OFF \
|
|
-DFTDI4222=OFF \
|
|
-DIPK=OFF \
|
|
-DRPM=OFF \
|
|
-DENABLEEXAMPLES=OFF \
|
|
-DBUILDTESTS=OFF
|
|
|
|
$(eval $(cmake-package))
|