summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2019-09-01 01:14:37 +0800
committerCommit Bot <commit-bot@chromium.org>2019-09-05 14:29:04 +0000
commita8b61f6ff9e6686b16a4017fdd6c8c1c3308dc81 (patch)
tree4dd52c22a80a6506aad249f2b3278e6ad9460b0a
parent12941d9d8ef716ac2b717d0900d50da61cf2d9f5 (diff)
downloadvboot-a8b61f6ff9e6686b16a4017fdd6c8c1c3308dc81.tar.gz
vboot: no need to compile C++ files in Makefile
The last remaining C++ files were removed in CL:367882. vboot_reference does not have any C++ files anymore, and thus does not need this rule in its Makefile. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Id59b2e593b1748293f045e5f7152ec2647ba7342 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1780082 Commit-Queue: Joel Kitching <kitching@chromium.org> Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3bc44524..e6c62846 100644
--- a/Makefile
+++ b/Makefile
@@ -1114,11 +1114,6 @@ ${BUILD}/%.o: ${BUILD}/%.c
@${PRINTF} " CC $(subst ${BUILD}/,,$@)\n"
${Q}${CC} ${CFLAGS} ${INCLUDES} -c -o $@ $<
-# TODO: C++ files don't belong in vboot reference at all. Convert to C.
-${BUILD}/%.o: %.cc
- @${PRINTF} " CXX $(subst ${BUILD}/,,$@)\n"
- ${Q}${CXX} ${CFLAGS} ${INCLUDES} -c -o $@ $<
-
# ----------------------------------------------------------------------------
# Here are the special tweaks to the generic rules.