[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249408: asm/ headers in LINUX_SOURCE not used unless it is a real directory



Hi Wolfram!

At Mon, 17 May 2004 10:42:16 +0200,
Wolfram Gloger wrote:
> When I specify the location of my kernel headers by setting
> LINUX_SOURCE, e.g. LINUX_SOURCE=/usr/src/kernel-headers-2.4.26-wg, and
> attempt to build glibc, no "asm/" headers are found, because that is a
> symbolic link to the respective real directory.  Patch appended; if
> you really want to insist on checking for a directory, "-xtype d"
> should be used instead.
> 
> Regards,
> Wolfram.
> 
> --- debian/sysdeps/linux.mk~	Sun May 16 12:03:35 2004
> +++ debian/sysdeps/linux.mk	Sun May 16 12:44:09 2004
> @@ -42,7 +42,7 @@
>  	# Link all asm directories.  We can't just link asm and asm-generic
>  	# because of explicit references to <asm-sparc/*> and
>  	# <asm-sparc64/*>.
> -	find $(LINUX_HEADERS) -maxdepth 1 -type d -name asm\* \
> +	find $(LINUX_HEADERS) -maxdepth 1 -name asm\* \
>  	  -exec ln -s '{}' debian/include ';'
>  
>  	# To make configure happy if libc6-dev is not installed.

Thanks for your patch, you right.  I put patch into cvs using
"-xtype d", thanks!

Regards,
-- gotom



Reply to: