Skip to content

Commit

Permalink
workaround in order to use als folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Aug 28, 2024
1 parent 6d618ea commit 01e09f3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion configure/CONFIG_SRC
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,20 @@ PATH_NAME_EPICSVERS:=$(strip $(SRC_VER_BASE))
PATH_NAME_BASE:=base
PATH_NANE_MODULES:=modules

INSTALL_LOCATION_EPICS:=$(strip $(INSTALL_LOCATION))/epics/$(ENV_RELEASE_VERS)/$(OS_NAME)-$(OS_VERSION)/$(PATH_NAME_EPICSVERS)

# ALS Installation Path Contains "epics",
# So, we have to install it within /usr/local/epics/alsu
# Thus, to use the final path as our INSTALL_LOCATION
# We need a logic to check whether the INSTALL_LOCATION
# has "epics" patch or not
#
ifneq (,$(findstring /epics, $(INSTALL_LOCATION)))
INSTALL_LOCATION_CHECK:=$(INSTALL_LOCATION)
else
INSTALL_LOCATION_CHECK:=$(INSTALL_LOCATION)/epics
endif

INSTALL_LOCATION_EPICS:=$(strip $(INSTALL_LOCATION_CHECK))/$(ENV_RELEASE_VERS)/$(OS_NAME)-$(OS_VERSION)/$(PATH_NAME_EPICSVERS)
INSTALL_LOCATION_BASE:=$(INSTALL_LOCATION_EPICS)/$(PATH_NAME_BASE)
INSTALL_LOCATION_MODS:=$(INSTALL_LOCATION_EPICS)/$(PATH_NANE_MODULES)

Expand Down

0 comments on commit 01e09f3

Please sign in to comment.