summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2022-08-25 00:13:54 -0400
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-25 17:24:09 +0000
commite79a44fa76c50c65e330766b7830bebae5f901a9 (patch)
tree287bde9e578d4a409891598e8b5f129f5de5ee64
parenta806e745bb2591b378341a059ee107a0865dd56b (diff)
downloadchrome-ec-e79a44fa76c50c65e330766b7830bebae5f901a9.tar.gz
cryptoc: Make cryptoc include path relative
This helps simplify IDE language server configuration generation. This is because the absolute path generated by this line will typically be a chroot specific path, but IDEs typically run outside of the chroot. The other includes are all relative, other than libusb. The original CL that introduced cryptoc is crrev.com/c/1731543. BRANCH=none BUG=b:176500425,b:236389226 TEST=make BOARD=hatch_fp print-includes # Ensure that cryptoc include is relative, like the rest. make BOARD=hatch_fp V=1 build/hatch_fp/ec.bin # Ensure that this compiles and shows the relative path being used. Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: I8d6fbabade75e80233b7b76114ed1d46aefa89c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3855590 Reviewed-by: Edward Hill <ecgh@chromium.org>
-rw-r--r--third_party/rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/rules.mk b/third_party/rules.mk
index c729aa24ef..c5f6a99e25 100644
--- a/third_party/rules.mk
+++ b/third_party/rules.mk
@@ -13,7 +13,7 @@ ifeq ($(CONFIG_LIBCRYPTOC),y)
# The cryptoc path can be overridden on invocation, as in the following example:
# $ make CRYPTOC_DIR=~/src/cryptoc BOARD=bloonchipper
-CRYPTOC_DIR ?= $(realpath ../../third_party/cryptoc)
+CRYPTOC_DIR ?= ../../third_party/cryptoc
# SUPPORT_UNALIGNED indicates to libcryptoc that provided data buffers
# may be unaligned and please handle them safely.