ensure CONFIG_PVXS_MODULE is idempotent
seems that cfg/ files can sometimes be included multiple times.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# auto-compute. avoid need to standardize configure/RELEASE name
|
||||
_PVXS := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
# as we're appending, must be idempotent
|
||||
ifeq (,$(_PVXS_INCLUDED))
|
||||
_PVXS_INCLUDED := YES
|
||||
|
||||
ifdef T_A
|
||||
|
||||
# use custom libevent2 install prefix by:
|
||||
@@ -35,3 +39,5 @@ LIB_SYS_LIBS += $(LIBEVENT_SYS_LIBS)
|
||||
|
||||
|
||||
endif # T_A
|
||||
|
||||
endif # _PVXS_INCLUDED
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
# cfg/ sometimes isn't correctly included due to a Base bug
|
||||
# so we do here (maybe again) as workaround
|
||||
include $(TOP)/configure/CONFIG_PVXS_MODULE
|
||||
include $(TOP)/configure/CONFIG_PVXS_VERSION
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
#=============================
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
# cfg/ sometimes isn't correctly included due to a Base bug
|
||||
# so we do here (maybe again) as workaround
|
||||
include $(TOP)/configure/CONFIG_PVXS_MODULE
|
||||
include $(TOP)/configure/CONFIG_PVXS_VERSION
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
#=============================
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
# cfg/ sometimes isn't correctly included due to a Base bug
|
||||
# so we do here (maybe again) as workaround
|
||||
include $(TOP)/configure/CONFIG_PVXS_MODULE
|
||||
include $(TOP)/configure/CONFIG_PVXS_VERSION
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
#=============================
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
# cfg/ sometimes isn't correctly included due to a Base bug
|
||||
# so we do here (maybe again) as workaround
|
||||
include $(TOP)/configure/CONFIG_PVXS_MODULE
|
||||
include $(TOP)/configure/CONFIG_PVXS_VERSION
|
||||
#----------------------------------------
|
||||
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
||||
#=============================
|
||||
|
||||
Reference in New Issue
Block a user