changeset 180:9e76589de0d4

Bugfix for x86-64 headers_install. Pushed upstream here: http://www.uwsg.iu.edu/hypermail/linux/kernel/0706.3/0780.html
author Rob Landley <rob@landley.net>
date Tue, 26 Jun 2007 09:43:00 -0400
parents 1300a9f21236
children 3398664933af
files sources/patches/linux-x86_64-headers.patch
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/linux-x86_64-headers.patch	Tue Jun 26 09:43:00 2007 -0400
@@ -0,0 +1,13 @@
+--- linux-2.6/scripts/Makefile.headersinst	2007-06-15 02:45:07.000000000 -0400
++++ linux/scripts/Makefile.headersinst	2007-06-26 08:54:13.000000000 -0400
+@@ -108,8 +108,8 @@
+ 
+ quiet_cmd_gen		  = GEN     $(patsubst $(INSTALL_HDR_PATH)/%,%,$@)
+       cmd_gen		  = \
+-FNAME=$(patsubst $(INSTALL_HDR_PATH)/$(_dst)/%,%,$@)			\
+-STUBDEF=__ASM_STUB_`echo $$FNAME | tr a-z.- A-Z__`;			\
++export FNAME=$(patsubst $(INSTALL_HDR_PATH)/$(_dst)/%,%,$@);		\
++export STUBDEF=__ASM_STUB_`echo $$FNAME | tr a-z.- A-Z__`;		\
+ (echo "/* File autogenerated by 'make headers_install' */" ;		\
+ echo "\#ifndef $$STUBDEF" ;						\
+ echo "\#define $$STUBDEF" ;						\