summaryrefslogtreecommitdiff
path: root/rbutil/mkimxboot/Makefile
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-08 22:05:44 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-10-18 19:08:32 +0200
commitd097742155873c8597f1b5adcce95fa17f135002 (patch)
treeeabe80100620ccae6eef018d49febe4db54735f2 /rbutil/mkimxboot/Makefile
parent2037b837f81485770fcb066adea70b1d22e9b727 (diff)
sbtools: Change crypto wrapper implementation to C.
There's nothing C++ left. Change-Id: I98d8406215287c02b56029ed7c0e2b0e645bbcf1
Diffstat (limited to 'rbutil/mkimxboot/Makefile')
-rw-r--r--rbutil/mkimxboot/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile
index d2c487c475..966423159a 100644
--- a/rbutil/mkimxboot/Makefile
+++ b/rbutil/mkimxboot/Makefile
@@ -13,18 +13,16 @@ COMPILEFLAGS := -Wall -g -O3 -I$(IMXTOOLS_DIR)
# std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE)
CFLAGS += -std=gnu99 $(COMPILEFLAGS)
-CXXFLAGS += $(COMPILEFLAGS)
TOMCRYPT_DIR := ../../utils/tomcrypt
-CXXFLAGS += -I$(TOMCRYPT_DIR)/src/headers
CFLAGS += -I$(TOMCRYPT_DIR)/src/headers
LDOPTS += -lpthread $(TOMCRYPT_DIR)/librbtomcrypt.a
OUTPUT = mkimxboot
# inputs for lib
-IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c elf.c
+IMXTOOLS_SOURCES = misc.c sb.c crypto.c crc.c elf.c
LIBSOURCES := dualboot.c mkimxboot.c md5.c \
$(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES))