summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rts_pstor
diff options
context:
space:
mode:
authorArnaud Lacombe <lacombar@gmail.com>2011-08-15 01:07:12 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 15:24:46 -0700
commit6efa04ebaba71be253e7361140aa990fe7bc3dee (patch)
tree20842e5adf68d0826bcec1286694883efe1c6e22 /drivers/staging/rts_pstor
parent7ec24db8dd7eb7e59316552bda92d950e31999d1 (diff)
downloadlinux-6efa04ebaba71be253e7361140aa990fe7bc3dee.tar.gz
linux-6efa04ebaba71be253e7361140aa990fe7bc3dee.tar.xz
linux-6efa04ebaba71be253e7361140aa990fe7bc3dee.zip
drivers/staging: do not use EXTRA_CFLAGS
Usage of these flags has been deprecated for nearly 4 years by: commit f77bf01425b11947eeb3b5b54685212c302741b8 Author: Sam Ravnborg <sam@neptun.(none)> Date: Mon Oct 15 22:25:06 2007 +0200 kbuild: introduce ccflags-y, asflags-y and ldflags-y Moreover, these flags (at least EXTRA_CFLAGS) have been documented for command line use. By default, gmake(1) do not override command line setting, so this is likely to result in build failure or unexpected behavior. Replace their usage by Kbuild's `{as,cc,ld}flags-y'. Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rts_pstor')
-rw-r--r--drivers/staging/rts_pstor/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts_pstor/Makefile b/drivers/staging/rts_pstor/Makefile
index 61609aee0a0f..42533d39c07f 100644
--- a/drivers/staging/rts_pstor/Makefile
+++ b/drivers/staging/rts_pstor/Makefile
@@ -1,4 +1,4 @@
-EXTRA_CFLAGS := -Idrivers/scsi
+ccflags := -Idrivers/scsi
obj-$(CONFIG_RTS_PSTOR) := rts_pstor.o