drivers/gpu/drm/tilcdc: Makefile, only -Werror when no -W* in EXTRA_CFLAGS
authorChen Gang <gang.chen@asianux.com>
Sun, 10 Mar 2013 05:04:13 +0000 (13:04 +0800)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Apr 2013 04:34:40 +0000 (14:34 +1000)
commit816175dd1fd755b5475e30933eff3c3e03657f5a
tree8862832dd471190522995dc07bb0eafbdc4ae1fe
parent9e48854c58ca9a0f39e716dcb18247bfc21e2022
drivers/gpu/drm/tilcdc: Makefile, only -Werror when no -W* in EXTRA_CFLAGS

  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>
drivers/gpu/drm/tilcdc/Makefile