-do_exporthdrs_md:
-
-build_exporthdrs_md:
- @echo "[ $(SOURCE) ] make exporthdrs_md $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
- _TMP_exportinc_subdir="$($(addprefix EXPINC_SUBDIRS_, $(ARCH_CONFIG)))"; \
- for exportinc_subdir in $${_TMP_exportinc_subdir}; \
- do \
- $(MKDIR) $${exportinc_subdir}; \
- ${MAKE} -C $${exportinc_subdir} \
- MAKEFILES=$(SOURCE)$${exportinc_subdir}/Makefile \
- SOURCE=$(SOURCE)$${exportinc_subdir}/ \
- TARGET=$(TARGET)$${exportinc_subdir}/ \
- build_exporthdrs_md; \
- done; \
- ${MAKE} ${MAKEJOBS} do_exporthdrs_md;
-
-#
-# Setup pass for all architectures for all Configuration/Architecture options
-#
-setup:
- @echo "[ $(SOURCE) ] make setup"; \
- rel_path=$(shell $(RELPATH) $(SRCROOT) $(SOURCE)); \
- for kernel_config in $(KERNEL_CONFIGS); \
- do \
- for arch_config in $(ARCH_CONFIGS); \
- do \
- setup_subdir=${OBJROOT}/$${kernel_config}_$${arch_config}/$${rel_path}; \
- $(MKDIR) $${setup_subdir}; \
- ${MAKE} -C $${setup_subdir} \
- KERNEL_CONFIG=$${kernel_config} \
- ARCH_CONFIG=$${arch_config} \
- MAKEFILES=${SOURCE}/Makefile \
- SOURCE=${SOURCE}/ \
- TARGET=$${setup_subdir}/ \
- build_setup; \
- done; \
- done;
-
-do_build_setup:
-
-build_setup:
- @echo "[ $(SOURCE) ] make build_setup $(COMPONENT) $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \
- _TMP_setup_subdir="$(SETUP_SUBDIRS) $($(addprefix SETUP_SUBDIRS_, $(ARCH_CONFIG)))"; \
- for setup_subdir in $${_TMP_setup_subdir}; \
- do \
- $(MKDIR) $${setup_subdir}; \
- ${MAKE} -C $${setup_subdir} \
- MAKEFILES=${SOURCE}/$${setup_subdir}/Makefile \
- SOURCE=${SOURCE}/$${setup_subdir}/ \
- TARGET=${TARGET}/$${setup_subdir}/ \
- build_setup; \
- done; \
- ${MAKE} do_build_setup;
-
-
-#
-# Build all architectures for all Configuration/Architecture options
-#
-ifeq ($(COMPONENT), .)
-all: exporthdrs
-else
-all:
-endif
- @echo "[ $(SOURCE) ] make all"; \
- rel_path=$(shell $(RELPATH) $(SRCROOT) $(SOURCE)); \
- for kernel_config in $(KERNEL_CONFIGS); \
- do \
- for arch_config in $(ARCH_CONFIGS); \
- do \
- build_subdir=${OBJROOT}/$${kernel_config}_$${arch_config}/$${rel_path}; \
- $(MKDIR) $${build_subdir}; \
- ${MAKE} -C $${build_subdir} \
- KERNEL_CONFIG=$${kernel_config} \
- ARCH_CONFIG=$${arch_config} \
- MAKEFILES=${SOURCE}/Makefile \
- SOURCE=${SOURCE}/ \
- build_all; \
- done; \
- done;
-
-#
-# Build all architectures for all Configuration/Architecture options
-#
-do_build_all:
-
-build_all:
- @TARGET=${OBJROOT}/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT); \
- echo "[ $(SOURCE) ] make build_all $(COMPONENT) $(KERNEL_CONFIG) $(ARCH_CONFIG) $${TARGET}"; \
- _TMP_comp_subdir="$(COMP_SUBDIRS) $($(addprefix COMP_SUBDIRS_, $(ARCH_CONFIG)))"; \
- for comp_subdir in $${_TMP_comp_subdir}; \
- do \
- $(MKDIR) $${comp_subdir}; \
- ${MAKE} -C $${comp_subdir} \
- MAKEFILES=${SOURCE}/$${comp_subdir}/Makefile \
- SOURCE=${SOURCE}$${comp_subdir}/ \
- TARGET=$${TARGET} \
- build_all; \
- done; \
- ${MAKE} ${MAKEJOBS} INCL_MAKEDEP=TRUE TARGET=$${TARGET} do_build_all; \
- _TMP_comp_subdir="$(CONFIG_SUBDIRS) $($(addprefix CONFIG_SUBDIRS_, $(ARCH_CONFIG)))"; \
- for comp_subdir in $${_TMP_comp_subdir}; \
- do \
- $(MKDIR) $${comp_subdir}; \
- ${MAKE} -C $${comp_subdir} \
- MAKEFILES=${SOURCE}/$${comp_subdir}/Makefile \
- SOURCE=${SOURCE}$${comp_subdir}/ \
- TARGET=$${TARGET} \
- build_all; \
- done; \
-