diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2015-03-20 05:45:24 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-03-20 06:38:08 (GMT) |
commit | dcdf3c4866f92abf960dd4b9a5be1aaed4887405 (patch) | |
tree | ad162d43399554538a91a86622d2d1e0d5fbafe7 /drivers/tdm | |
parent | 24dbe25f9315dbc581737284af971b8ca092ac4d (diff) | |
download | linux-fsl-qoriq-dcdf3c4866f92abf960dd4b9a5be1aaed4887405.tar.xz |
fsl: Use ccflags-y instead of deprecated EXTRA_CFLAGS
This allows users to pass in additional compiler flags through the
environment variable EXTRA_CFLAGS, e.g.
make EXTRA_CFLAGS=-Wno-error
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: I36513506ee1671c31bb076e9b73c2e8e2442cf4f
Reviewed-on: http://git.am.freescale.net:8181/33146
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/tdm')
-rw-r--r-- | drivers/tdm/Makefile | 2 | ||||
-rw-r--r-- | drivers/tdm/device/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tdm/Makefile b/drivers/tdm/Makefile index 2a2e0a5..320aff9 100644 --- a/drivers/tdm/Makefile +++ b/drivers/tdm/Makefile @@ -4,5 +4,5 @@ obj-$(CONFIG_TDM) += tdm-core.o device/ line_ctrl/ test/ ifeq ($(CONFIG_TDM_DEBUG_CORE),y) -EXTRA_CFLAGS += -DDEBUG +ccflags-y += -DDEBUG endif diff --git a/drivers/tdm/device/Makefile b/drivers/tdm/device/Makefile index d41d10c..ff5acd6 100644 --- a/drivers/tdm/device/Makefile +++ b/drivers/tdm/device/Makefile @@ -5,5 +5,5 @@ obj-$(CONFIG_TDM_FSL) += tdm_fsl.o obj-$(CONFIG_FSL_UCC_TDM) += fsl_ucc_tdm.o #ifeq ($(CONFIG_TDM_DEBUG_BUS),y) -#EXTRA_CFLAGS += -DDEBUG +#ccflags-y += -DDEBUG #endif |