update compile env

main
Aries 11 months ago
parent 7f60eebbe0
commit 446e5040de

Binary file not shown.

@ -0,0 +1 @@
libmodbus.so.5.1.0

@ -0,0 +1 @@
libmodbus.so.5.1.0

Binary file not shown.

Binary file not shown.

@ -19,9 +19,9 @@ VER := $(strip $(VER))
MY_CFLAGS = -fmessage-length=0
ifeq ($(PLAT),x86)
MY_LIBS = -lpthread -L../lib -lrt -ldl -lscl_shm -lm -lgo -lmodbus
MY_LIBS = -lpthread -L../lib -lrt -lscl_shm -lmodbus
else
MY_LIBS = -L../lib -lpthread -lrt -ldl -lscl_shm -lm -lgo -lmodbus
MY_LIBS = -L../lib -lpthread -lrt -lscl_shm -lmodbus
endif
# The pre-processor options used by the cpp (man cpp for more).
@ -73,14 +73,14 @@ endif
ifeq ($(PLAT),x86)
CC = gcc
else
CC = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
CC = arm-linux-gnueabihf-gcc
endif
# The C++ program compiler.
ifeq ($(PLAT),x86)
CXX = g++
else
CXX = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
CXX = arm-linux-gnueabihf-g++
endif
# Un-comment the following line to compile C programs as C++ ones.
@ -89,7 +89,7 @@ endif
ifeq ($(PLAT),x86)
STRIP = strip
else
STRIP = /root/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-strip
STRIP = arm-linux-gnueabihf-strip
endif
# The command used to delete file.

Loading…
Cancel
Save