datapath: Use ccflags-y instead of deprecated EXTRA_CFLAGS
authorThomas Graf <tgraf@noironetworks.com>
Wed, 26 Nov 2014 14:52:31 +0000 (15:52 +0100)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 1 Dec 2014 22:42:29 +0000 (14:42 -0800)
commit36fd4f214f9ba74aaf0e5fb3e4ba271b946a1550
tree2ee7df17ec554f868e46e1686fbcf91171f11887
parent433330a8bfaf38b41bbe3c482c57562202ba1e61
datapath: 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=foo V=1

Reported-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
datapath/linux/Kbuild.in