genode/repos/libports/lib/mk/libext2fs.mk
Norman Feske 366bba0227 Exclude higher-level repos from strict warnings
This is a follow-up commit to "Increase default warning level", which
overrides Genode's new default warning level for targets contained in
higher-level repositories. By explicitly whitelisting all those targets,
we can selectively adjust them to the new strictness over time - by
looking out for 'CC_CXX_WARN_STRICT' in the target description files.

Issue #465
2018-01-17 12:14:36 +01:00

30 lines
933 B
Makefile

FUSE_EXT2_PORT_DIR := $(call select_from_ports,fuse-ext2)
FUSE_EXT2_DIR = $(FUSE_EXT2_PORT_DIR)/src/lib/fuse-ext2
E2FSPROGS_DIR = $(FUSE_EXT2_DIR)/e2fsprogs-1.41.12.newgit
EXT2FS_DIR = $(E2FSPROGS_DIR)/ext2fs
ET_DIR = $(E2FSPROGS_DIR)/et
FILTER_OUT = bmove.c dosio.c irel_ma.c nt_io.c tdbtool.c
SRC_C = $(filter-out $(FILTER_OUT), $(notdir $(wildcard $(EXT2FS_DIR)/*.c)))
SRC_C += $(notdir $(wildcard $(ET_DIR)/*.c))
INC_DIR += $(REP_DIR)/include/fuse-ext2 \
$(REP_DIR)/src/lib/fuse-ext2 \
$(FUSE_EXT2_PORT_DIR)/include/fuse-ext2 \
$(ET_DIR)
CC_OPT += -DHAVE_CONFIG_H -D__BSD_VISIBLE -DENABLE_DEBUG
CC_OPT += -Wno-unused-function -Wno-unused-variable \
-Wno-unused-but-set-variable -Wno-cpp \
-Wno-maybe-uninitialized -Wno-uninitialized
CC_C_OPT += -std=gnu89
LIBS += libc
vpath %.c $(EXT2FS_DIR)
vpath %.c $(ET_DIR)
CC_CXX_WARN_STRICT =