From 6db0960200c5a1307914486172094fccf23b33ed Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Wed, 27 Mar 2019 15:38:23 +0800 Subject: [PATCH] Add 0.91 Inch OLED --- src/cp_library/test/makefile | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/src/cp_library/test/makefile b/src/cp_library/test/makefile index f1d11c8..697a554 100644 --- a/src/cp_library/test/makefile +++ b/src/cp_library/test/makefile @@ -21,31 +21,16 @@ ARCH?=arm LINK_MODE=STATIC -MODE=PRODUCTION -DEBUG=1 CFLAGS+=-Wall -Werror #CFLAGS+=-Wno-unused - -ifeq ("${MODE}", "PRODUCTION") - CFLAGS+=-DPRODUCTION_MODE -endif -ifdef DEBUG - CFLAGS+=-g -DDEBUG -endif COMPILE_DATE=$(shell date -u +"%Y-%m-%d %H:%M") VPATH= . SRCS = $(wildcard ${VPATH}/*.c) OBJS = $(patsubst %.c,%.o,$(SRCS)) -TMP=$(shell echo $(ARCH) | tr "[A-Z]" "[a-z]") -ifneq (,$(filter i386,$(TMP))) - CROSS_COMPILE= -else - CROSS_COMPILE=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -endif - +CROSS_COMPILE?=/opt/rpi/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf- CFLAGS+=-I${LIB_PATH} LDFLAGS+=-L${LIB_PATH} -l${LIB_NAME} -- Gitblit v1.9.1