no jni check needed
This commit is contained in:
parent
1adc62deaf
commit
d19b394439
|
@ -137,27 +137,6 @@ OD = $(TRGT)objdump
|
|||
HEX = $(CP) -O ihex
|
||||
BIN = $(CP) -O binary
|
||||
|
||||
ifndef JAVA_HOME
|
||||
$(error JAVA_HOME is undefined - due to JNI integration unit tests depend on JAVA_HOME)
|
||||
endif
|
||||
|
||||
ifneq (1,$(words [$(JAVA_HOME)]))
|
||||
$(error JAVA_HOME $(JAVA_HOME) seems to contain spaces this would not work well. please use folder name without space often progra~1)
|
||||
endif
|
||||
|
||||
AOPT = -fPIC -I$(JAVA_HOME)/include
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
# TODO: add validation to assert that we do not have Windows slash in JAVA_HOME variable
|
||||
AOPT += -I$(JAVA_HOME)/include/win32
|
||||
else
|
||||
ifeq ($(IS_MAC),yes)
|
||||
AOPT += -I$(JAVA_HOME)/include/darwin
|
||||
else
|
||||
AOPT += -I$(JAVA_HOME)/include/linux
|
||||
endif
|
||||
endif
|
||||
|
||||
# Define C warning options here
|
||||
CWARN = -Wall -Wextra -Wstrict-prototypes -pedantic -Wmissing-prototypes -Wold-style-definition
|
||||
|
||||
|
|
Loading…
Reference in New Issue