blob: ee61cf64eaeff0500ba2da8b2adf33f78d2a473d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
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:
|