mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 01:04:07 +07:00
816175dd1f
When make with EXTRA_CFLAGS=-W, it will report error. so give a check in Makefile. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Acked-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
14 lines
236 B
Makefile
14 lines
236 B
Makefile
ccflags-y := -Iinclude/drm
|
|
ifeq (, $(findstring -W,$(EXTRA_CFLAGS)))
|
|
ccflags-y += -Werror
|
|
endif
|
|
|
|
tilcdc-y := \
|
|
tilcdc_crtc.o \
|
|
tilcdc_tfp410.o \
|
|
tilcdc_slave.o \
|
|
tilcdc_panel.o \
|
|
tilcdc_drv.o
|
|
|
|
obj-$(CONFIG_DRM_TILCDC) += tilcdc.o
|