Skip to content
Snippets Groups Projects
CONFIG_EXPORT 743 B
Newer Older
# Variables should be transferred to module_name.makefile

EPICS_HOST_ARCH:=$(shell $(EPICS_BASE)/startup/EpicsHostArch.pl)
Jeong Han Lee's avatar
Jeong Han Lee committed
MSI:=$(EPICS_BASE)/bin/$(EPICS_HOST_ARCH)/msi
EXPORT_VARS+=EPICS_HOST_ARCH
EXPORT_VARS+=EPICS_BASE
Jeong Han Lee's avatar
Jeong Han Lee committed
EXPORT_VARS+=MSI
EXPORT_VARS+=E3_REQUIRE_TOOLS
EXPORT_VARS+=E3_MODULE_VERSION
EXPORT_VARS+=E3_SITEMODS_PATH
EXPORT_VARS+=E3_SITEAPPS_PATH
EXPORT_VARS+=E3_SITELIBS_PATH
EXPORT_VARS+=E3_SEQUENCER_NAME
EXPORT_VARS+=E3_SEQUENCER_VERSION
Jeong Han Lee's avatar
Jeong Han Lee committed
EXPORT_VARS+=QUIET
EXPORT_VARS+=$(filter %_DEP_VERSION,$(.VARIABLES))
Jeong Han Lee's avatar
Jeong Han Lee committed
EXPORT_VARS+=$(filter WITH_%,$(.VARIABLES))
EXPORT_VARS+=$(filter SUDO%,$(.VARIABLES))

export_version=$(eval export $1)
$(eval $(foreach v,$(EXPORT_VARS),$(call export_version,$v)))

VARS_EXCLUDES+=export_version