mirror of https://github.com/rusefi/rusefi-1.git
JNI for test coverage #3965
This commit is contained in:
parent
f2e8535189
commit
2955f66f66
|
@ -43,6 +43,7 @@ INCDIR += \
|
|||
$(PROJECT_DIR)/config/boards/hellen \
|
||||
$(UNIT_TESTS_DIR)/test_data_structures \
|
||||
$(UNIT_TESTS_DIR)/chibios-mock \
|
||||
$(UNIT_TESTS_DIR)/native \
|
||||
$(UNIT_TESTS_DIR)/tests \
|
||||
$(UNIT_TESTS_DIR)/tests/sensor \
|
||||
$(UNIT_TESTS_DIR)/test_basic_math
|
||||
|
|
|
@ -132,7 +132,13 @@ OD = $(TRGT)objdump
|
|||
HEX = $(CP) -O ihex
|
||||
BIN = $(CP) -O binary
|
||||
|
||||
AOPT = -fPIC
|
||||
AOPT = -fPIC -I$(JAVA_HOME)/include
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
AOPT += -I$(JAVA_HOME)/include/win32
|
||||
else
|
||||
AOPT += -I$(JAVA_HOME)/include/linux
|
||||
endif
|
||||
|
||||
# Define C warning options here
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes -pedantic -Wmissing-prototypes -Wold-style-definition
|
||||
|
|
Loading…
Reference in New Issue