2018-11-07 14:16:30 +00:00
|
|
|
REQUIRES += 64bit
|
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
|
|
|
CC_OPT += -D__SOLO5_BINDINGS__ -Drestrict=__restrict__
|
|
|
|
|
2019-05-06 12:28:35 +00:00
|
|
|
# GCC 8 complains about a mismatch of the 'log()' function declaration.
|
|
|
|
# Since the solo5 'log()' function is unrelated to the builtin function,
|
|
|
|
# we disable the error message.
|
|
|
|
CC_OPT += -Wno-builtin-declaration-mismatch
|
|
|
|
|
2018-11-07 14:16:30 +00:00
|
|
|
SRC_CC = bindings.cc
|
|
|
|
|
2018-11-29 10:11:49 +00:00
|
|
|
SOLO5_PORT_DIR := $(call select_from_ports,solo5)
|
|
|
|
|
|
|
|
INC_DIR += $(SOLO5_PORT_DIR)/src/lib/solo5/bindings
|
|
|
|
INC_DIR += $(SOLO5_PORT_DIR)/include/solo5
|
|
|
|
INC_DIR += $(REP_DIR)/include/solo5
|
|
|
|
|
2019-04-10 11:51:32 +00:00
|
|
|
vpath bindings.cc $(SOLO5_PORT_DIR)/src/lib/solo5/bindings/genode
|