ia64/xen-unstable

changeset 11470:6160da08a238

[XEN] Use C locale in bootup message.

LC_ALL=C is needed to ensure C locale output in date.
Without this locale-specific, and thus potentially
non-ascii data will end up in include/xen/compile.h which
is displayed on the (often only ascii capable) terminal
at bootup. In any case, its good to have a consistent bootup
message, regadless of the locale prevailing at build.

Signed-Off-By: Simon Horman <horms@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Wed Sep 13 15:14:24 2006 +0100 (2006-09-13)
parents 8c0cf4d3c412
children 885c1513c674
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Wed Sep 13 14:46:54 2006 +0100
     1.2 +++ b/xen/Makefile	Wed Sep 13 15:14:24 2006 +0100
     1.3 @@ -90,10 +90,9 @@ include/xen/acm_policy.h:
     1.4  	  echo "#endif") >$@
     1.5  
     1.6  # compile.h contains dynamic build info. Rebuilt on every 'make' invocation.
     1.7 -include/xen/compile.h: LANG=C
     1.8  include/xen/compile.h: include/xen/compile.h.in
     1.9 -	@sed -e 's/@@date@@/$(shell date)/g' \
    1.10 -	    -e 's/@@time@@/$(shell date +%T)/g' \
    1.11 +	@sed -e 's/@@date@@/$(shell LC_ALL=C date)/g' \
    1.12 +	    -e 's/@@time@@/$(shell LC_ALL=C date +%T)/g' \
    1.13  	    -e 's/@@whoami@@/$(shell whoami)/g' \
    1.14  	    -e 's/@@domain@@/$(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) || ([ -x /bin/domainname ] && /bin/domainname || echo [unknown]))/g' \
    1.15  	    -e 's/@@hostname@@/$(shell hostname)/g' \