- Update to 3.3-rc2.
[linux-flexiantxendom0-3.2.10.git] / scripts / Makefile.build
index 7bede6d..9a83f6c 100644 (file)
@@ -126,21 +126,6 @@ ifndef obj
 $(warning kbuild: Makefile.build is included improperly)
 endif
 
-ifeq ($(CONFIG_XEN),y)
-Makefile.xen := $(if $(KBUILD_EXTMOD),$(KBUILD_EXTMOD),$(objtree)/scripts)/Makefile.xen
-$(Makefile.xen): $(srctree)/scripts/Makefile.xen.awk $(srctree)/scripts/Makefile.build
-       @echo '  Updating $@'
-       $(if $(shell echo a | $(AWK) '{ print gensub(/a/, "AA", "g"); }'),\
-        ,$(error 'Your awk program does not define gensub.  Use gawk or another awk with gensub'))
-       @$(AWK) -f $< $(filter-out $<,$^) >$@
-
-xen-src-single-used-m  := $(patsubst $(srctree)/%,%,$(wildcard $(addprefix $(srctree)/,$(single-used-m:.o=-xen.c))))
-xen-single-used-m      := $(xen-src-single-used-m:-xen.c=.o)
-single-used-m          := $(filter-out $(xen-single-used-m),$(single-used-m))
-
--include $(Makefile.xen)
-endif
-
 # ===========================================================================
 
 ifneq ($(strip $(lib-y) $(lib-m) $(lib-n) $(lib-)),)