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
17 ifndef LIBSA_KERNEL_CONFIG
18 export LIBSA_KERNEL_CONFIG = $(KERNEL_CONFIG)
21 ifneq ($(MACHINE_CONFIG), DEFAULT)
22 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)
24 export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)
27 $(COMPOBJROOT)/doconf:
30 $(COMPOBJROOT)/$(LIBSA_KERNEL_CONFIG)/Makefile : $(SOURCE)/MASTER \
31 $(SOURCE)/MASTER.$(ARCH_CONFIG_LC) \
32 $(SOURCE)/Makefile.template \
33 $(SOURCE)/Makefile.$(ARCH_CONFIG_LC) \
35 $(SOURCE)/files.$(ARCH_CONFIG_LC) \
37 $(_v)(doconf_target=$(addsuffix /conf, $(TARGET)); \
38 echo $${doconf_target};\
39 $(MKDIR) $${doconf_target}; \
40 cd $${doconf_target}; \
42 cp $? $${doconf_target}; \
43 $(COMPOBJROOT)/doconf -c -cpu $(ARCH_CONFIG_LC) -d $(TARGET)/$(LIBSA_KERNEL_CONFIG) $(LIBSA_KERNEL_CONFIG); \
46 .ORDER: $(COMPOBJROOT)/$(LIBSA_KERNEL_CONFIG)/Makefile
48 do_setup_conf: $(COMPOBJROOT)/doconf \
49 $(COMPOBJROOT)/$(LIBSA_KERNEL_CONFIG)/Makefile
52 $(_v)next_source=$(subst conf/,,$(SOURCE)); \
53 ${MAKE} -C $(COMPOBJROOT)/$(LIBSA_KERNEL_CONFIG) \
54 MAKEFILES=$(TARGET)/$(LIBSA_KERNEL_CONFIG)/Makefile \
55 SOURCE=$${next_source} \
58 KERNEL_CONFIG=$(LIBSA_KERNEL_CONFIG) \
63 include $(MakeInc_rule)
64 include $(MakeInc_dir)