projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a15eb9
)
tools/cert_create: fix makefile to build build_msg.o by HOSTCC
author
Ying-Chun Liu (PaulLiu)
<paulliu@debian.org>
Fri, 6 Jul 2018 15:20:08 +0000
(23:20 +0800)
committer
Ying-Chun Liu (PaulLiu)
<paulliu@debian.org>
Fri, 6 Jul 2018 15:20:08 +0000
(23:20 +0800)
Previously build_msg.o is built by CC. It causes FTBFS when CC
is not equal to HOSTCC.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
tools/cert_create/Makefile
patch
|
blob
|
history
diff --git
a/tools/cert_create/Makefile
b/tools/cert_create/Makefile
index 8a1958ffaf4e75eb37a202efd7dff89c56b6ec62..7b10e3e308984a972c5d46c6dda595dd298eb0c6 100644
(file)
--- a/
tools/cert_create/Makefile
+++ b/
tools/cert_create/Makefile
@@
-75,7
+75,7
@@
${BINARY}: ${OBJECTS} Makefile
@echo " LD $@"
@echo 'const char build_msg[] = "Built : "__TIME__", "__DATE__; \
const char platform_msg[] = "${PLAT_MSG}";' | \
- ${CC} -c ${CFLAGS} -xc - -o src/build_msg.o
+ ${
HOST
CC} -c ${CFLAGS} -xc - -o src/build_msg.o
${Q}${HOSTCC} src/build_msg.o ${OBJECTS} ${LIB_DIR} ${LIB} -o $@
%.o: %.c