moarvm: enable optional support for libffi

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Vicente Olivert Riera 2016-11-23 14:39:11 +00:00 committed by Thomas Petazzoni
parent 40cbdf6de0
commit a8981b3785

View File

@ -25,6 +25,11 @@ MOARVM_CONF_OPTS = \
--has-libtommath \
--has-libatomic
ifeq ($(BR2_PACKAGE_LIBFFI),y)
MOARVM_CONF_OPTS += --has-libffi
MOARVM_DEPENDENCIES += libffi
endif
ifeq ($(BR2_ENDIAN),"BIG")
MOARVM_CONF_OPTS += --big-endian
endif