mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +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
29 lines
690 B
Makefile
29 lines
690 B
Makefile
SHARED_LIB = yes
|
|
LIBS = libc
|
|
DRM_SRC_DIR := $(call select_from_ports,drm)/src/lib/drm
|
|
LIB_DIR = $(REP_DIR)/src/lib/drm
|
|
|
|
INC_DIR += $(DRM_SRC_DIR)/include/drm $(LIB_DIR)/include \
|
|
$(DRM_SRC_DIR)
|
|
|
|
SRC_C = intel/intel_bufmgr.c \
|
|
intel/intel_bufmgr_gem.c \
|
|
intel/intel_decode.c \
|
|
xf86drm.c xf86drmHash.c \
|
|
xf86drmRandom.c
|
|
|
|
SRC_CC = dummies.cc ioctl.cc
|
|
|
|
CC_OPT = -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 -DO_CLOEXEC=0
|
|
|
|
#
|
|
# We rename 'ioctl' calls to 'genode_ioctl' calls, this way we are not required
|
|
# to write a libc plugin for libdrm.
|
|
#
|
|
CC_C_OPT += -Dioctl=genode_ioctl
|
|
|
|
vpath %.c $(DRM_SRC_DIR)
|
|
vpath %.cc $(LIB_DIR)
|
|
|
|
CC_CXX_WARN_STRICT =
|