ia64/linux-2.6.18-xen.hg

view scripts/Makefile.xen.awk @ 673:3161879fdf22

[IA64] xencomm: support XENMEM_add_to_physmap and XENMEM_remove_from_phsymap

support XENMEM_add_to_physmap and XENMEM_remove_from_phsymap.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Tue Sep 16 21:26:15 2008 +0900 (2008-09-16)
parents 50477b1b3016
children
line source
1 BEGIN {
2 is_rule = 0
3 }
5 /^[[:space:]]*#/ {
6 next
7 }
9 /^[[:space:]]*$/ {
10 if (is_rule)
11 print("")
12 is_rule = 0
13 next
14 }
16 /:[[:space:]]*%\.[cS][[:space:]]/ {
17 line = gensub(/%.([cS])/, "%-xen.\\1", "g", $0)
18 line = gensub(/(single-used-m)/, "xen-\\1", "g", line)
19 print line
20 is_rule = 1
21 next
22 }
24 /^[^\t]$/ {
25 if (is_rule)
26 print("")
27 is_rule = 0
28 next
29 }
31 is_rule {
32 print $0
33 next
34 }