2022-03-11 11:24:43 +01:00
|
|
|
# Buffer size for vcdiff
|
|
|
|
CONFIG_TINYVCDIFF_BUFFER_SIZE ?= 128
|
|
|
|
CFLAGS += -DVCDIFF_BUFFER_SIZE=$(CONFIG_TINYVCDIFF_BUFFER_SIZE)
|
|
|
|
|
|
|
|
# Disable debugging if DEVELHELP is turned off
|
|
|
|
ifneq ($(DEVELHELP),1)
|
|
|
|
CFLAGS += -DVCDIFF_NDEBUG
|
|
|
|
endif
|
|
|
|
|
|
|
|
INCLUDES += -I$(PKGDIRBASE)/tinyvcdiff/include
|
2022-03-11 11:38:28 +01:00
|
|
|
INCLUDES += -I$(RIOTPKG)/tinyvcdiff/include
|
|
|
|
|
|
|
|
ifneq (,$(filter tinyvcdiff_mtd,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTPKG)/tinyvcdiff/contrib/tinyvcdiff_mtd
|
|
|
|
endif
|
2022-03-13 13:14:23 +01:00
|
|
|
|
|
|
|
ifneq (,$(filter tinyvcdiff_vfs,$(USEMODULE)))
|
|
|
|
DIRS += $(RIOTPKG)/tinyvcdiff/contrib/tinyvcdiff_vfs
|
|
|
|
endif
|