ia64/xen-unstable

view xen/Post.mk @ 9586:806d04252761

Fix checksum-offload problems introduced in c/s 9514, due to
data_validated flag not being properly specified on the
device channel.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 05 10:37:37 2006 +0100 (2006-04-05)
parents 4813462ed4f9
children
line source
1 # Ensure each subdirectory has exactly one trailing slash.
2 subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n)))
3 subdir-y := $(patsubst %,%/,$(patsubst %/,%,$(subdir-y)))
5 # Add explicitly declared subdirectories to the object list.
6 obj-y += $(patsubst %,%/built_in.o,$(subdir-y))
8 # Add implicitly declared subdirectories (in the object list) to the
9 # subdirectory list, and rewrite the object-list entry.
10 subdir-y += $(filter %/,$(obj-y))
11 obj-y := $(patsubst %/,%/built-in.o,$(obj-y))
13 subdir-all := $(subdir-y) $(subdir-n)
15 built_in.o: $(obj-y)
16 $(LD) $(LDFLAGS) -r -o $@ $^
18 .PHONY: FORCE
19 FORCE:
21 %/built_in.o: FORCE
22 $(MAKE) -C $*
24 clean:: $(addprefix _clean_, $(subdir-all)) FORCE
25 rm -f *.o *~ core
26 _clean_%/: FORCE
27 $(MAKE) -C $* clean