summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2018-10-04 14:31:58 +0100
committerGitHub <noreply@github.com>2018-10-04 14:31:58 +0100
commit3989a81930c72d19f660262ec7f280b2bbd6f111 (patch)
treeae27b526e0f08e9e4f42ea8a5e1f0ddc0fec29b9 /tools
parent7e0a38a4d8d7db12eea0cf33f63920acc3bdb2e2 (diff)
parentc0f73edc9b04023a24a1e2103b442a94297921a7 (diff)
Merge pull request #1609 from MISL-EBU-System-SW/integration-ble
plat/marvell: Move BLE into the platform tree, minor fix in tools.
Diffstat (limited to 'tools')
-rw-r--r--tools/doimage/Makefile2
-rw-r--r--tools/stm32image/Makefile5
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/doimage/Makefile b/tools/doimage/Makefile
index bc74369f..9cec681a 100644
--- a/tools/doimage/Makefile
+++ b/tools/doimage/Makefile
@@ -39,7 +39,7 @@ ${PROJECT}: ${OBJECTS} Makefile
@echo "Built $@ successfully"
@echo
-%.o: %.c %.h Makefile
+%.o: %.c Makefile
@echo " CC $<"
${Q}${CC} -c ${CFLAGS} ${INCLUDE_PATHS} $< -o $@
diff --git a/tools/stm32image/Makefile b/tools/stm32image/Makefile
index 80dfbecf..a593d316 100644
--- a/tools/stm32image/Makefile
+++ b/tools/stm32image/Makefile
@@ -12,8 +12,7 @@ PROJECT := stm32image${BIN_EXT}
OBJECTS := stm32image.o
V := 0
-override CPPFLAGS += -D_GNU_SOURCE
-CFLAGS := -Wall -Werror -pedantic -std=c99
+CFLAGS := -Wall -Werror -pedantic -std=c99 -D_GNU_SOURCE
ifeq (${DEBUG},1)
CFLAGS += -g -O0 -DDEBUG
else
@@ -39,7 +38,7 @@ ${PROJECT}: ${OBJECTS} Makefile
@echo "Built $@ successfully"
@${ECHO_BLANK_LINE}
-%.o: %.c %.h Makefile
+%.o: %.c Makefile
@echo " CC $<"
${Q}${CC} -c ${CFLAGS} $< -o $@