Subversion Repositories HelenOS-historic

Rev

Rev 1764 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1764 Rev 1775
Line 41... Line 41...
41
## Setup arch configuration
41
## Setup arch configuration
42
#
42
#
43
 
43
 
44
-include arch/$(ARCH)/Makefile.inc
44
-include arch/$(ARCH)/Makefile.inc
45
 
45
 
-
 
46
ifeq ($(ARCH),xen32)
-
 
47
	UARCH = ia32
-
 
48
else
-
 
49
	UARCH = $(ARCH)
-
 
50
endif
-
 
51
 
46
ifeq ($(CONFIG_DEBUG),y)
52
ifeq ($(CONFIG_DEBUG),y)
47
	DEFS += -DCONFIG_DEBUG
53
	DEFS += -DCONFIG_DEBUG
48
endif
54
endif
49
 
55
 
50
ifeq ($(CONFIG_BAT),y)
56
ifeq ($(CONFIG_BAT),y)
Line 65... Line 71...
65
 
71
 
66
kernel:
72
kernel:
67
	$(MAKE) -C $(KERNELDIR) NARCH=$(ARCH)
73
	$(MAKE) -C $(KERNELDIR) NARCH=$(ARCH)
68
 
74
 
69
uspace:
75
uspace:
70
	$(MAKE) -C $(USPACEDIR) NARCH=$(ARCH)
76
	$(MAKE) -C $(USPACEDIR) NARCH=$(UARCH)
71
 
77
 
72
clean_kernel:
78
clean_kernel:
73
	$(MAKE) -C $(KERNELDIR) clean ARCH=$(ARCH)
79
	$(MAKE) -C $(KERNELDIR) clean ARCH=$(ARCH)
74
 
80
 
75
clean_uspace:
81
clean_uspace:
76
	$(MAKE) -C $(USPACEDIR) clean ARCH=$(ARCH)
82
	$(MAKE) -C $(USPACEDIR) clean ARCH=$(UARCH)
77
 
83
 
78
clean_boot_gen:
84
clean_boot_gen:
79
	-rm generic/*.o genarch/*.o
85
	-rm generic/*.o genarch/*.o
80
 
86
 
81
distclean_kernel:
87
distclean_kernel:
82
	$(MAKE) -C $(KERNELDIR) distclean ARCH=$(ARCH)
88
	$(MAKE) -C $(KERNELDIR) distclean ARCH=$(ARCH)
83
 
89
 
84
distclean_uspace:
90
distclean_uspace:
85
	$(MAKE) -C $(USPACEDIR) distclean ARCH=$(ARCH)
91
	$(MAKE) -C $(USPACEDIR) distclean ARCH=$(UARCH)