feat(Source):Update Speed,background,bottom
@@ -3,14 +3,10 @@ DESTDIR = bin
|
|||||||
CD = make --no-print-directory
|
CD = make --no-print-directory
|
||||||
BIN = $(DESTDIR)/$(APPNAME)
|
BIN = $(DESTDIR)/$(APPNAME)
|
||||||
|
|
||||||
#readonly APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
ROOTFS = /home/lst/workspace/rootfs/
|
||||||
CURR_DIR = /home/huaxu/develop/cluster/clusterApp/
|
TARGET_PATH_LIB = /usr/lib64
|
||||||
PKG_DIR = /home/huaxu/develop/cluster/packages/
|
TARGET_PATH_INCLUDE = /usr/include
|
||||||
ROOTFS = /home/huaxu/develop/cluster/packages/install/usr/
|
TFPT_DIR = /home/lst/workspace/rootfs/root/app/
|
||||||
#ROOTFS = ${APP_DIR}/../packages/install/
|
|
||||||
TARGET_PATH_LIB = $(ROOTFS)/lib
|
|
||||||
TARGET_PATH_INCLUDE = $(ROOTFS)/include
|
|
||||||
#TFPT_DIR = /home/lst/workspace/rootfs/root/app/
|
|
||||||
|
|
||||||
CFLAGS = -fPIC -fno-strict-aliasing -fno-optimize-sibling-calls -Wall
|
CFLAGS = -fPIC -fno-strict-aliasing -fno-optimize-sibling-calls -Wall
|
||||||
|
|
||||||
@@ -20,45 +16,40 @@ else
|
|||||||
CFLAGS += -O3 -fexpensive-optimizations
|
CFLAGS += -O3 -fexpensive-optimizations
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEPS = -lpthread -lGLESv2 -lEGL -ldrm -lgbm -lfreetype -lm -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)
|
DEPS = -lX11 -lpthread -lEGL -lGLESv2 -ldrm -lgbm -lfreetype -lcjson -ljpeg -lm -ldl -Wl,--library-path=$(TARGET_PATH_LIB),-rpath-link=$(TARGET_PATH_LIB)
|
||||||
## DEPS += /home/lst/workspace/jpeg/jpeg-9c/install/lib/libjpeg.a
|
## DEPS += /home/lst/workspace/jpeg/jpeg-9c/install/lib/libjpeg.a
|
||||||
DEPS += $(ROOTFS)/lib/libjpeg.a
|
#DEPS += /home/user/zhimin/clusterApp/3psw/jpegsr9c/jpeg-9c/libjpeg.a
|
||||||
DEPS += $(ROOTFS)/lib/libcjson.a
|
#DEPS += /home/user/zhimin/packages/install/lib/libcjson.a
|
||||||
DEPS += -lz -lpng -lcjson
|
DEPS += -lz -lpng16
|
||||||
|
|
||||||
#Make command to use for dependencies
|
#Make command to use for dependencies
|
||||||
CROSS_COMPILE = /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
|
CROSS_COMPILE = /opt/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
|
||||||
CC = $(CROSS_COMPILE)gcc
|
CC = gcc
|
||||||
AR = $(CROSS_COMPILE)ar
|
AR = ar
|
||||||
|
|
||||||
SUBDIR = ./src
|
SUBDIR = ./src
|
||||||
|
|
||||||
CFLAGS += -DLINUX \
|
CFLAGS += -DLINUX \
|
||||||
-DEGL_API_FB \
|
-DEGL_API_FB \
|
||||||
-DCOMPILE_IN_UBUNTU \
|
-DCOMPILE_IN_UBUNTU
|
||||||
-DGLEW_NO_GLU
|
|
||||||
##\
|
##\
|
||||||
##-DCOMPILE_IN_WINDOWS
|
##-DCOMPILE_IN_WINDOWS
|
||||||
|
|
||||||
CFLAGS += -Iinclude \
|
CFLAGS += -Iinclude \
|
||||||
-I$(TARGET_PATH_INCLUDE) \
|
-I$(TARGET_PATH_INCLUDE) \
|
||||||
-I$(TARGET_PATH_INCLUDE)/freetype2 \
|
-I$(TARGET_PATH_INCLUDE)/freetype2 \
|
||||||
-I$(TARGET_PATH_INCLUDE)/GL \
|
-I/home/lst/workspace/jpeg/jpeg-9c/install/include \
|
||||||
-I$(TARGET_PATH_INCLUDE)/cjson \
|
-I/home/lst/workspace/zlib/zlib_build/ \
|
||||||
-I$(TARGET_PATH_INCLUDE)/libdrm \
|
-I/home/lst/workspace/libpng/libpng_build/ \
|
||||||
-I$(ROOTFS)/local/include \
|
-I/home/user/zhimin/clusterApp/3psw/source_packages/build_install/ \
|
||||||
-I$(CURR_DIR)/3psw/freetype-2.9_MinGW/include/freetype2/ \
|
-I/home/huaxu/develop/cluster/clusterApp/3psw/lpng1634 \
|
||||||
-I$(CURR_DIR)/3psw/lpng1634/ \
|
-I/home/user/zhimin/clusterApp/3psw/source_packages/freetype-2.13.2/ \
|
||||||
# -I/usr/include/ \
|
-I/home/huaxu/develop/ICM-SOFT/D20/icm-code/cpu/app/insDavi2.0/3psw/freetype-2.9_MinGW/include/freetype2/ \
|
||||||
# -I/usr/include/GL/ \
|
-I/usr/include/GL/ \
|
||||||
# -I/usr/include/drm/
|
-I/usr/include/drm/ \
|
||||||
# -I/home/lst/workspace/jpeg/jpeg-9c/install/include \
|
-I$(ROOTFS)/usr/src/linux/include
|
||||||
# -I/home/lst/workspace/zlib/zlib_build/ \
|
|
||||||
# -I/home/lst/workspace/libpng/libpng_build/ \
|
|
||||||
# -I$(ROOTFS)/usr/src/linux/include
|
|
||||||
|
|
||||||
CFLAGS += -L$(ROOTFS)/lib \
|
CFLAGS += -L/home/user/zhimin/clusterApp/3psw/source_packages/build_install/lib/
|
||||||
-L/$(ROOTFS)/lib/libcjson.a
|
|
||||||
|
|
||||||
SOURCES = $(shell find $(SUBDIR) -name "*.c")
|
SOURCES = $(shell find $(SUBDIR) -name "*.c")
|
||||||
|
|
||||||
@@ -83,12 +74,12 @@ finish_tips:
|
|||||||
|
|
||||||
%.o : %.c
|
%.o : %.c
|
||||||
@echo " CC " $@
|
@echo " CC " $@
|
||||||
@$(QUIET)$(CC) $(CFLAGS) $(LDFLAGS) -MD -c $< -o $@
|
@$(QUIET)$(CC) $(CFLAGS) -MD -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
%.o : %.cpp
|
%.o : %.cpp
|
||||||
@echo " CXX " $@
|
@echo " CXX " $@
|
||||||
@$(QUIET)$(CC) $(CFLAGS) $(LDFLAGS) -MMD -c $< -o $@
|
@$(QUIET)$(CC) $(CFLAGS) -MMD -c $< -o $@
|
||||||
|
|
||||||
|
|
||||||
$(BIN) : $(BIN_OBJECTS)
|
$(BIN) : $(BIN_OBJECTS)
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 42 KiB |
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 7.7 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 9.1 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 27 KiB |