summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2021-11-29 12:06:02 +0000
committerCommit Bot <commit-bot@chromium.org>2021-12-03 11:16:41 +0000
commit793d84de3c07c61d3b8cd40d4ec3b734690287e8 (patch)
tree192ec9559ea080b1a3a5af6651071c50ca5beb62
parent3efb6a6cd8e8679b6f95c1088fa5c20cbb327478 (diff)
downloadvboot-793d84de3c07c61d3b8cd40d4ec3b734690287e8.tar.gz
Makefile: Remove DETACHABLE and PHYSICAL_PRESENCE_KEYBOARD
DETACHABLE and PHYSICAL_PRESENCE_KEYBOARD are unused in the code and can be removed from the Makefile. BUG=b:206031372 TEST=make runtests BRANCH=none Signed-off-by: Jakub Czapiga <jacz@semihalf.com> Change-Id: I6d91f8bfa8342c95959014c3a0efcccf02f1d915 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3306614 Tested-by: Jakub Czapiga <czapiga@google.com> Reviewed-by: Yu-Ping Wu <yupingso@chromium.org> Commit-Queue: Jakub Czapiga <czapiga@google.com>
-rw-r--r--Makefile14
1 files changed, 0 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 2a52c926..f69b50de 100644
--- a/Makefile
+++ b/Makefile
@@ -223,20 +223,6 @@ else
CFLAGS += -DVTPM_PROXY=0
endif
-# DETACHABLE indicates whether the device is a detachable or not.
-ifneq ($(filter-out 0,${DETACHABLE}),)
-CFLAGS += -DDETACHABLE=1
-else
-CFLAGS += -DDETACHABLE=0
-endif
-
-# Confirm physical presence using keyboard
-ifneq ($(filter-out 0,${PHYSICAL_PRESENCE_KEYBOARD}),)
-CFLAGS += -DPHYSICAL_PRESENCE_KEYBOARD=1
-else
-CFLAGS += -DPHYSICAL_PRESENCE_KEYBOARD=0
-endif
-
# NOTE: We don't use these files but they are useful for other packages to
# query about required compiling/linking flags.
PC_IN_FILES = vboot_host.pc.in