Skip to content

Commit

Permalink
xtensa: change to new flag variable
Browse files Browse the repository at this point in the history
Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <[email protected]>
Acked-by: WANG Cong <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
mfmooney authored and michal42 committed Mar 17, 2011
1 parent 9b8c24f commit 3996eab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/xtensa/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/xtensa/boot/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $< > $@
Expand Down

0 comments on commit 3996eab

Please sign in to comment.