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
16 ifndef PEXPERT_KERNEL_CONFIG
17 export PEXPERT_KERNEL_CONFIG = $(KERNEL_CONFIG)
20 ifneq ($(MACHINE_CONFIG), DEFAULT)
21 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)
23 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
26 MASTER_CPU_PER_SOC = $(SOURCE)/MASTER.$(ARCH_CONFIG_LC).$(MACHINE_CONFIG_LC)
28 $(COMPOBJROOT)/$(PEXPERT_KERNEL_CONFIG)/Makefile : $(SOURCE)/MASTER \
29 $(SOURCE)/MASTER.$(ARCH_CONFIG_LC) \
30 $(SOURCE)/Makefile.template \
31 $(SOURCE)/Makefile.$(ARCH_CONFIG_LC) \
33 $(SOURCE)/files.$(ARCH_CONFIG_LC)
34 $(_v)(doconf_target=$(addsuffix /conf, $(TARGET)); \
35 $(MKDIR) $${doconf_target}; \
36 cd $${doconf_target}; \
38 cp $? $${doconf_target}; \
39 if [ -f $(MASTER_CPU_PER_SOC) ]; then cp $(MASTER_CPU_PER_SOC) $${doconf_target}; fi; \
40 $(SRCROOT)/SETUP/config/doconf -c -cpu $(ARCH_CONFIG_LC) -soc $(MACHINE_CONFIG_LC) -d $(TARGET)/$(PEXPERT_KERNEL_CONFIG) $(PEXPERT_KERNEL_CONFIG); \
43 do_all: $(COMPOBJROOT)/$(PEXPERT_KERNEL_CONFIG)/Makefile
44 $(_v)next_source=$(subst conf/,,$(SOURCE)); \
45 next_relsource=$(subst conf/,,$(RELATIVE_SOURCE_PATH)); \
46 ${MAKE} -C $(COMPOBJROOT)/$(PEXPERT_KERNEL_CONFIG) \
47 MAKEFILES=$(TARGET)/$(PEXPERT_KERNEL_CONFIG)/Makefile \
48 SOURCE=$${next_source} \
49 RELATIVE_SOURCE_PATH=$${next_relsource} \
52 KERNEL_CONFIG=$(PEXPERT_KERNEL_CONFIG) \
57 include $(MakeInc_rule)
58 include $(MakeInc_dir)