diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-03-06 13:43:48 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-03-06 13:43:48 -0500 |
commit | f692940101bbcef3717f40df9fd3c52f497c8589 (patch) | |
tree | a8aa98879cc0e23a878de682d902f2ac89ad86e3 | |
parent | 0ddeeca25ce33686262459e2387f57bd09574e47 (diff) |
[Blackfin] arch: declare CHECKFLAGS to make sparse output more readable
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r-- | arch/blackfin/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/Makefile b/arch/blackfin/Makefile index 75eba2ca7881..3cbe16caad4b 100644 --- a/arch/blackfin/Makefile +++ b/arch/blackfin/Makefile | |||
@@ -72,6 +72,11 @@ rev-$(CONFIG_BF_REV_ANY) := any | |||
72 | KBUILD_CFLAGS += -mcpu=$(cpu-y)-$(rev-y) | 72 | KBUILD_CFLAGS += -mcpu=$(cpu-y)-$(rev-y) |
73 | KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y) | 73 | KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y) |
74 | 74 | ||
75 | # - we utilize the silicon rev from the toolchain, so move it over to the checkflags | ||
76 | # - the l1_text attribute is Blackfin specific, so fake it out as used to kill warnings | ||
77 | CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }') | ||
78 | CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__ | ||
79 | |||
75 | head-y := arch/$(ARCH)/mach-$(MACHINE)/head.o arch/$(ARCH)/kernel/init_task.o | 80 | head-y := arch/$(ARCH)/mach-$(MACHINE)/head.o arch/$(ARCH)/kernel/init_task.o |
76 | 81 | ||
77 | core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/mach-common/ | 82 | core-y += arch/$(ARCH)/kernel/ arch/$(ARCH)/mm/ arch/$(ARCH)/mach-common/ |