drivers/staging: do not use EXTRA_CFLAGS
authorArnaud Lacombe <lacombar@gmail.com>
Mon, 15 Aug 2011 05:07:12 +0000 (01:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:24:46 +0000 (15:24 -0700)
commit6efa04ebaba71be253e7361140aa990fe7bc3dee
tree20842e5adf68d0826bcec1286694883efe1c6e22
parent7ec24db8dd7eb7e59316552bda92d950e31999d1
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>
drivers/staging/cxd2099/Makefile
drivers/staging/go7007/Makefile
drivers/staging/rtl8187se/Makefile
drivers/staging/rts_pstor/Makefile