]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd |
2 | export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def | |
3 | export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule | |
4 | export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir | |
5 | ||
6 | ||
7 | include $(MakeInc_cmd) | |
8 | include $(MakeInc_def) | |
9 | ||
2d21ac55 A |
10 | ifneq ($(MACHINE_CONFIG), DEFAULT) |
11 | export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT) | |
12 | else | |
13 | export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT) | |
14 | endif | |
1c79356b A |
15 | |
16 | do_all: | |
17 | @echo "[ $(SOURCE) ] Starting do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \ | |
18 | ($(MKDIR) $(COMPOBJROOT)/User; \ | |
19 | cd $(COMPOBJROOT)/User; \ | |
20 | ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \ | |
21 | TARGET=$(TARGET) \ | |
22 | do_build_all \ | |
23 | ); \ | |
24 | echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; | |
25 | ||
26 | ||
27 | do_build_all: do_all | |
28 | ||
29 | do_install: | |
30 | @echo "[ $(SOURCE) ] Starting do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \ | |
31 | ($(MKDIR) $(COMPOBJROOT)/User; \ | |
32 | cd $(COMPOBJROOT)/User; \ | |
33 | ${MAKE} MAKEFILES=$(SOURCE)/Makefile.user \ | |
34 | TARGET=$(TARGET) \ | |
35 | do_build_install \ | |
36 | ); \ | |
37 | echo "[ $(SOURCE) ] Returning do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; | |
38 | ||
39 | do_build_install: do_install | |
40 | ||
41 | include $(MakeInc_rule) | |
42 | include $(MakeInc_dir) |