summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-28 22:02:18 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-28 22:02:18 +0100
commit6f77d81b1ca937c369b26b99ee503cff10bc5ff2 (patch)
tree0060a2c56e447004c0f5f48edf64d23075b9716c /Makefile
parent8870ec8aa8cfc0563e54171e2724b1d9687bdac8 (diff)
add kconfig variables for inflate lib
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5ec0340..e7ce2cc 100644
--- a/Makefile
+++ b/Makefile
@@ -258,6 +258,14 @@ ifdef CONFIG_driver_softi2c
COMMON_FLAGS += -DDRIVER_SOFTI2C
endif
+ifdef CONFIG_lib_inflate
+ CXX_TARGETS += src/lib/inflate.cc
+endif
+
+ifdef CONFIG_lib_inflate_checksum
+ COMMON_FLAGS += -DDEFLATE_CHECKSUM
+endif
+
# Configure drivers (TODO: Kconfig)
ifneq (${i2c_freq}, )