xtensa: change to new flag variable
authormatt mooney <mfm@muteddisk.com>
Fri, 14 Jan 2011 14:12:34 +0000 (06:12 -0800)
committerMichal Marek <mmarek@suse.cz>
Thu, 17 Mar 2011 13:02:57 +0000 (14:02 +0100)
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
arch/xtensa/boot/Makefile
arch/xtensa/boot/lib/Makefile

index 40aa55b485be91747ebc401f5d5d4047ce71aa11..70fd1453e172abcd48c54e11b8fd0af278f3fe45 100644 (file)
@@ -14,7 +14,7 @@ HOSTFLAGS     += -Iarch/$(ARCH)/boot/include
 
 BIG_ENDIAN     := $(shell echo -e __XTENSA_EB__ | $(CC) -E - | grep -v "\#")
 
-export EXTRA_CFLAGS
+export ccflags-y
 export BIG_ENDIAN
 
 subdir-y       := lib
index d3d2aa2d883aa6e4d9abfc7571b7e3e5eadbc30f..ad8952e8a07f6d369192416d831917cd642f9075 100644 (file)
@@ -6,7 +6,7 @@ zlib    := inffast.c inflate.c inftrees.c
 
 lib-y  += $(zlib:.c=.o) zmem.o
 
-EXTRA_CFLAGS   += -Ilib/zlib_inflate
+ccflags-y      := -Ilib/zlib_inflate
 
 quiet_cmd_copy_zlib = COPY    $@
       cmd_copy_zlib = cat $< > $@