kbuild: use POSIX BRE in headers install target
authorMike Frysinger <vapier@gentoo.org>
Mon, 9 Jul 2007 18:43:55 +0000 (11:43 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 17 Jul 2007 12:24:55 +0000 (14:24 +0200)
commitc05190371d5ca360b75864cfcf930e8bf3addeb1
treef1a8118985fc5c9b3cef8e62f83e620933360ce5
parenteec73e887a96b50035c92c57e01137dcbe6c5a39
kbuild: use POSIX BRE in headers install target

The sed expression used at the moment in scripts/Makefile.headersinst
relies on the (handy) GNU extension where you can escape ERE's in an
otherwise BRE without using the GNU -r option.  The following patch
replaces this "\+" usage with a functionally equivalent POSIX BRE compliant
"\{1,\}".  Tested with `make headers_install` against blackfin/x86_64/i386
targets.

Stupid whiny OS X users and their crappy sed ;)

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/Makefile.headersinst