summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author[email protected] <[email protected]>2016-11-25 16:30:31 +0100
committerJoe Hershberger <[email protected]>2017-02-07 10:54:32 -0600
commit1d3c5392396726915558e95e08947e44d994d9bb (patch)
tree7004c8afd67639f8eeeafadfeb9da0801ed8fd0d /tools
parent26d40b0a17f86f748803f3c60926e614177117b7 (diff)
tools: Allow crc8 to be used
This patch enables crc8 to be used from within the tools directory using u-boot/crc.h. Signed-off-by: Olliver Schinagl <[email protected]> Reviewed-by: Joe Hershberger <[email protected]> Signed-off-by: Olliver Schinagl <[email protected]>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f5ac6313e1f..5e089c957e3 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -196,6 +196,7 @@ fdtgrep-objs += $(LIBFDT_OBJS) fdtgrep.o
# that won't build on some weird host compiler -- though there are lots of
# exceptions for files that aren't complaint.
HOSTCFLAGS_crc32.o := -pedantic
+HOSTCFLAGS_crc8.o := -pedantic
HOSTCFLAGS_md5.o := -pedantic
HOSTCFLAGS_sha1.o := -pedantic
HOSTCFLAGS_sha256.o := -pedantic