null.mk 613 B

1234567891011121314151617181920
  1. NULL_NAME := $(strip $(NULL_NAME))
  2. ifeq ($(_THEOS_RULES_LOADED),)
  3. include $(THEOS_MAKE_PATH)/rules.mk
  4. endif
  5. internal-all:: $(NULL_NAME:=.all.null.variables);
  6. internal-stage:: $(NULL_NAME:=.stage.null.variables);
  7. NULLS_WITH_SUBPROJECTS = $(strip $(foreach null,$(NULL_NAME),$(patsubst %,$(null),$(call __schema_var_all,$(null)_,SUBPROJECTS))))
  8. ifneq ($(NULLS_WITH_SUBPROJECTS),)
  9. internal-clean:: $(NULLS_WITH_SUBPROJECTS:=.clean.null.subprojects)
  10. endif
  11. $(NULL_NAME):
  12. @$(MAKE) -f $(_THEOS_PROJECT_MAKEFILE_NAME) --no-print-directory --no-keep-going $@.all.null.variables
  13. $(eval $(call __mod,master/null.mk))