blob: 7a6a25088f250381d332def262568df058c0208b (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
$NetBSD: patch-aa,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $
--- Makefile.orig 2007-05-18 16:45:21.000000000 +0200
+++ Makefile 2007-06-12 22:20:43.000000000 +0200
@@ -2,34 +2,11 @@
include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS-y :=
-SUBDIRS-y += libxc
-SUBDIRS-y += xenstore
-SUBDIRS-y += misc
-SUBDIRS-y += examples
-SUBDIRS-y += xentrace
-SUBDIRS-$(CONFIG_XCUTILS) += xcutils
-SUBDIRS-$(CONFIG_X86) += firmware
-SUBDIRS-y += security
-SUBDIRS-y += console
-SUBDIRS-y += xenmon
-SUBDIRS-y += guest-headers
-SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
-SUBDIRS-$(VTPM_TOOLS) += vtpm
-SUBDIRS-y += xenstat
-SUBDIRS-y += libaio
-SUBDIRS-y += blktap
-SUBDIRS-y += libfsimage
-SUBDIRS-$(XENFB_TOOLS) += xenfb
-SUBDIRS-$(LIBXENAPI_BINDINGS) += libxen
-
-# These don't cross-compile
-ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-SUBDIRS-$(PYTHON_TOOLS) += python
-SUBDIRS-$(PYTHON_TOOLS) += pygrub
-endif
+SUBDIRS-y += firmware
.PHONY: all
all: check
+ (cd libxc ; $(MAKE) mk-symlinks)
@set -e; for subdir in $(SUBDIRS-y); do \
$(MAKE) -C $$subdir $@; \
done
@@ -56,18 +33,16 @@
.PHONY: check
check:
- $(MAKE) -C check
.PHONY: check_clean
check_clean:
- $(MAKE) -C check clean
.PHONY: ioemu ioemuinstall ioemuclean
ifeq ($(CONFIG_IOEMU),y)
export IOEMU_DIR ?= ioemu
ioemu ioemuinstall:
[ -f $(IOEMU_DIR)/config-host.mak ] || \
- (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
+ (cd $(IOEMU_DIR) && sh configure --prefix=$(PREFIX))
$(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
ioemuclean:
$(MAKE) -C $(IOEMU_DIR) distclean
|