mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
366bba0227
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
30 lines
933 B
Makefile
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 =
|