ia64/xen-unstable

annotate buildconfigs/Rules.mk @ 18824:0b8c6c91c5a4

pv-on-hvm drivers: build fixes for Linux 2.6.27+

Make the drivers build properly in a 2.6.27 environment as well as
against a kernel with pv-ops Xen configured on (in the latter case
more work would be needed to also make the drivers work, as there's a
large number of duplicate exports).

Portions from Charles Arnold <carnold@novell.com>.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Nov 24 11:11:20 2008 +0000 (2008-11-24)
parents 1712c62b913c
children
rev   line source
cl349@4443 1
cl349@4443 2 include Config.mk
cl349@3024 3
kaf24@7216 4 export DESTDIR
kaf24@7216 5
cl349@4889 6 ALLKERNELS = $(patsubst buildconfigs/mk.%,%,$(wildcard buildconfigs/mk.*))
cl349@4889 7
kaf24@7313 8 %-install:
kaf24@2978 9 $(MAKE) -f buildconfigs/mk.$* build
kaf24@2978 10
kaf24@7313 11 %-dist: DESTDIR=$(DISTDIR)/install
kaf24@7313 12 %-dist: %-install
kaf24@7313 13 @: # do nothing
kaf24@7313 14
kaf24@7313 15 # Legacy dist target
kaf24@7313 16 %-build: %-dist
kaf24@7313 17 @: # do nothing
kaf24@7313 18
chris@10707 19 %-prep: DESTDIR=$(DISTDIR)/install
chris@10707 20 %-prep:
chris@10707 21 $(MAKE) -f buildconfigs/mk.$* prep
chris@10707 22
chris@10707 23 %-config: DESTDIR=$(DISTDIR)/install
chris@10707 24 %-config:
chris@10707 25 $(MAKE) -f buildconfigs/mk.$* config
chris@10707 26
kaf24@2978 27 %-delete:
kaf24@2978 28 $(MAKE) -f buildconfigs/mk.$* delete
kaf24@2978 29
kaf24@2978 30 %-clean:
kaf24@2978 31 $(MAKE) -f buildconfigs/mk.$* clean
kaf24@2978 32
ian@14863 33 %.patch:
ian@14863 34 $(MAKE) -f buildconfigs/mk.$* $@
iap10@2835 35
kaf24@9650 36 %-mrproper:
ian@14863 37 $(MAKE) -f buildconfigs/mk.$*-xen mrproper
kaf24@10640 38 rm -rf pristine-$(*)* ref-$(*)*
cl349@2858 39 rm -rf $*-xen.patch
cl349@2884 40
cl349@2858 41 # never delete any intermediate files.
cl349@2858 42 .SECONDARY: