1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/tinyvcdiff/Makefile.include
2022-05-17 13:40:16 +02:00

20 lines
541 B
Makefile

# 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
INCLUDES += -I$(RIOTPKG)/tinyvcdiff/include
ifneq (,$(filter tinyvcdiff_mtd,$(USEMODULE)))
DIRS += $(RIOTPKG)/tinyvcdiff/contrib/tinyvcdiff_mtd
endif
ifneq (,$(filter tinyvcdiff_vfs,$(USEMODULE)))
DIRS += $(RIOTPKG)/tinyvcdiff/contrib/tinyvcdiff_vfs
endif