diff --git a/rules.mk b/rules.mk index 80cb3d63f449fa9e8d9ca72448d7bfe61e9c650d..eb84f7cc1541f1a0ebac27c72e468919dde2a1d2 100644 --- a/rules.mk +++ b/rules.mk @@ -360,6 +360,10 @@ define shexport export $(call shvar,$(1))=$$(call $(1)) endef +define include_mk +$(eval -include $(if $(DUMP),,$(STAGING_DIR)/mk/$(strip $(1)))) +endef + # Execute commands under flock # $(1) => The shell expression. # $(2) => The lock name. If not given, the global lock will be used.