diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-09 09:32:52 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 16:30:00 -0400 |
commit | 245322082a802aced61ee474efb8dfab2656740e (patch) | |
tree | 33d994ccf7441a65ec1291f688e1cd86a8cfc949 /arch/blackfin | |
parent | 7696eecf14a81074dc930d5d6ad62957fef86c49 (diff) |
Blackfin: update sparse flags for latest upstream changes
Mainline version of git merged support for Blackfin parts, but we now
need to propagate the gcc arch define to make it work.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 3e65b0ffe084..46738d49b7c8 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -101,9 +101,8 @@ KBUILD_CFLAGS += -mcpu=$(cpu-y)-$(rev-y) | |||
101 | KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y) | 101 | KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y) |
102 | 102 | ||
103 | # - we utilize the silicon rev from the toolchain, so move it over to the checkflags | 103 | # - we utilize the silicon rev from the toolchain, so move it over to the checkflags |
104 | # - the l1_text attribute is Blackfin specific, so fake it out as used to kill warnings | ||
105 | CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }') | 104 | CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }') |
106 | CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__ | 105 | CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -D__bfin__ |
107 | 106 | ||
108 | head-y := arch/$(ARCH)/kernel/init_task.o | 107 | head-y := arch/$(ARCH)/kernel/init_task.o |
109 | 108 | ||