diff options
Diffstat (limited to 'rbutil/mkimxboot/Makefile')
-rw-r--r-- | rbutil/mkimxboot/Makefile | 4 |
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) | |||
13 | 13 | ||
14 | # std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE) | 14 | # std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE) |
15 | CFLAGS += -std=gnu99 $(COMPILEFLAGS) | 15 | CFLAGS += -std=gnu99 $(COMPILEFLAGS) |
16 | CXXFLAGS += $(COMPILEFLAGS) | ||
17 | 16 | ||
18 | TOMCRYPT_DIR := ../../utils/tomcrypt | 17 | TOMCRYPT_DIR := ../../utils/tomcrypt |
19 | 18 | ||
20 | CXXFLAGS += -I$(TOMCRYPT_DIR)/src/headers | ||
21 | CFLAGS += -I$(TOMCRYPT_DIR)/src/headers | 19 | CFLAGS += -I$(TOMCRYPT_DIR)/src/headers |
22 | LDOPTS += -lpthread $(TOMCRYPT_DIR)/librbtomcrypt.a | 20 | LDOPTS += -lpthread $(TOMCRYPT_DIR)/librbtomcrypt.a |
23 | 21 | ||
24 | OUTPUT = mkimxboot | 22 | OUTPUT = mkimxboot |
25 | 23 | ||
26 | # inputs for lib | 24 | # inputs for lib |
27 | IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c elf.c | 25 | IMXTOOLS_SOURCES = misc.c sb.c crypto.c crc.c elf.c |
28 | LIBSOURCES := dualboot.c mkimxboot.c md5.c \ | 26 | LIBSOURCES := dualboot.c mkimxboot.c md5.c \ |
29 | $(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES)) | 27 | $(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES)) |
30 | 28 | ||