mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
43 lines
755 B
Makefile
43 lines
755 B
Makefile
|
|
include Config.mk
|
|
|
|
export DESTDIR
|
|
|
|
ALLKERNELS = $(patsubst buildconfigs/mk.%,%,$(wildcard buildconfigs/mk.*))
|
|
|
|
%-install:
|
|
$(MAKE) -f buildconfigs/mk.$* build
|
|
|
|
%-dist: DESTDIR=$(DISTDIR)/install
|
|
%-dist: %-install
|
|
@: # do nothing
|
|
|
|
# Legacy dist target
|
|
%-build: %-dist
|
|
@: # do nothing
|
|
|
|
%-prep: DESTDIR=$(DISTDIR)/install
|
|
%-prep:
|
|
$(MAKE) -f buildconfigs/mk.$* prep
|
|
|
|
%-config: DESTDIR=$(DISTDIR)/install
|
|
%-config:
|
|
$(MAKE) -f buildconfigs/mk.$* config
|
|
|
|
%-delete:
|
|
$(MAKE) -f buildconfigs/mk.$* delete
|
|
|
|
%-clean:
|
|
$(MAKE) -f buildconfigs/mk.$* clean
|
|
|
|
%.patch:
|
|
$(MAKE) -f buildconfigs/mk.$* $@
|
|
|
|
%-mrproper:
|
|
$(MAKE) -f buildconfigs/mk.$*-xen mrproper
|
|
rm -rf pristine-$(*)* ref-$(*)*
|
|
rm -rf $*-xen.patch
|
|
|
|
# never delete any intermediate files.
|
|
.SECONDARY:
|