]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Blackfin: update sparse flags for latest upstream changes
authorMike Frysinger <vapier@gentoo.org>
Sat, 9 Oct 2010 13:32:52 +0000 (13:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Oct 2010 20:30:00 +0000 (16:30 -0400)
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>
arch/blackfin/Makefile

index 3e65b0ffe08492c86501cfe8b04358a9649b0be2..46738d49b7c8ee9da7933c05fa976c4806188c2a 100644 (file)
@@ -101,9 +101,8 @@ KBUILD_CFLAGS += -mcpu=$(cpu-y)-$(rev-y)
 KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y)
 
 # - we utilize the silicon rev from the toolchain, so move it over to the checkflags
-# - the l1_text attribute is Blackfin specific, so fake it out as used to kill warnings
 CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }')
-CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__
+CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -D__bfin__
 
 head-y   := arch/$(ARCH)/kernel/init_task.o