]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] translate dashes in filenames for headers install
authorMike Frysinger <vapier@gentoo.org>
Tue, 30 Jan 2007 22:35:55 +0000 (14:35 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Jan 2007 00:01:35 +0000 (16:01 -0800)
commitec268be36e79d99443efc4be3a617d6efc6f719b
treefa6e41483220f05e7b281e332debc452324d446d
parent0d59a01bc461bbab4017ff449b8401151ef44cf6
[PATCH] translate dashes in filenames for headers install

The current filename->define translation does not scrub dashes so when
creating stub defines for like asm-x86_64/ptrace-abi.h, we get: #define
__ASM_STUB_PTRACE-ABI_H

gcc just hates that sort of thing :)

trivial attached patch adds - to the tr list to scrub it to _

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Makefile.headersinst