2015-09-09 14:21:19 +00:00
|
|
|
LX_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/drivers/framebuffer/intel
|
|
|
|
SRC_DIR := $(REP_DIR)/src/drivers/framebuffer/intel
|
|
|
|
|
|
|
|
LIBS += intel_fb_include
|
|
|
|
|
|
|
|
SRC_C :=
|
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/char/agp/*.c))
|
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/i2c/*.c))
|
2015-09-18 14:34:19 +00:00
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/i2c/algos/*.c))
|
2015-09-09 14:21:19 +00:00
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/*.c))
|
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/i915/*.c))
|
2015-09-18 14:34:19 +00:00
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/video/*.c))
|
2016-03-22 10:04:07 +00:00
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/video/fbdev/core/*.c))
|
2015-09-18 14:34:19 +00:00
|
|
|
SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/lib/*.c))
|
2015-09-09 14:21:19 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Reduce build noise of compiling contrib code
|
|
|
|
#
|
|
|
|
CC_WARN = -Wall -Wno-uninitialized -Wno-unused-but-set-variable \
|
2015-09-18 14:34:19 +00:00
|
|
|
-Wno-unused-variable -Wno-unused-function \
|
2016-03-22 10:04:07 +00:00
|
|
|
-Wno-pointer-arith -Wno-pointer-sign \
|
|
|
|
-Wno-int-to-pointer-cast
|
2015-09-09 14:21:19 +00:00
|
|
|
|
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/char/agp
|
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/i2c
|
2015-09-18 14:34:19 +00:00
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/i2c/algos
|
2015-09-09 14:21:19 +00:00
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/i915
|
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm
|
2015-09-18 14:34:19 +00:00
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/video
|
2016-03-22 10:04:07 +00:00
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/drivers/video/fbdev/core
|
2015-09-18 14:34:19 +00:00
|
|
|
vpath %.c $(LX_CONTRIB_DIR)/lib
|
2015-09-09 14:21:19 +00:00
|
|
|
|