]>
Commit | Line | Data |
---|---|---|
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 | ||
10 | COMPOBJROOT = $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT) | |
11 | ||
12 | do_all: | |
13 | @echo "[ $(SOURCE) ] Starting do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \ | |
14 | ($(MKDIR) $(COMPOBJROOT)/kmod; \ | |
15 | cd $(COMPOBJROOT)/kmod; \ | |
16 | ${MAKE} MAKEFILES=$(SOURCE)/Makefile.kmod \ | |
17 | TARGET=$(TARGET) \ | |
18 | do_build_all \ | |
19 | ); \ | |
20 | echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; | |
21 | ||
22 | do_build_all: do_all | |
23 | ||
24 | do_install: | |
25 | @echo "[ $(SOURCE) ] Starting do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \ | |
26 | ($(MKDIR) $(COMPOBJROOT)/kmod; \ | |
27 | cd $(COMPOBJROOT)/kmod; \ | |
28 | ${MAKE} MAKEFILES=$(SOURCE)/Makefile.kmod \ | |
29 | TARGET=$(TARGET) \ | |
30 | do_build_install \ | |
31 | ); \ | |
32 | echo "[ $(SOURCE) ] Returning do_install $(COMPONENT) $(MACH_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; | |
33 | ||
34 | do_build_install: do_install | |
35 | ||
36 | include $(MakeInc_rule) | |
37 | include $(MakeInc_dir) |