summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2017-09-03 18:00:23 +0300
committerTom Rini <trini@konsulko.com>2017-10-03 03:31:25 +0300
commit85d8bf57131a21424b50e50884372e813345f09a (patch)
tree89b5c9a646761fa4e060043a8ca1a5bd4c46cbbc /lib/Makefile
parent43dd6dacb200757c7088af00eec78c82a7e8cbff (diff)
downloadu-boot-85d8bf57131a21424b50e50884372e813345f09a.tar.xz
lib: Add CRC32-C
This is needed for BTRFS. Signed-off-by: Marek Behun <marek.behun@nic.cz> create mode 100644 lib/crc32c.c
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 8e1c9d1bb7..80216c2ed6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -71,6 +71,7 @@ obj-y += display_options.o
CFLAGS_display_options.o := $(if $(BUILD_TAG),-DBUILD_TAG='"$(BUILD_TAG)"')
obj-$(CONFIG_BCH) += bch.o
obj-y += crc32.o
+obj-$(CONFIG_CRC32C) += crc32c.o
obj-y += ctype.o
obj-y += div64.o
obj-y += hang.o