From 4571158e128b70b79cd947e660964b39ea0a2e73 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch <dirk.zimoch@psi.ch> Date: Mon, 7 Sep 2015 17:42:31 +0200 Subject: [PATCH] complain for existing specific T_A only in order to allow installing other T_A (esp. EPICS_HOST_ARCH) later from other hosts --- App/tools/driver.makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/App/tools/driver.makefile b/App/tools/driver.makefile index 62b4aa3c..3eb17cfa 100644 --- a/App/tools/driver.makefile +++ b/App/tools/driver.makefile @@ -388,8 +388,8 @@ endef $(foreach a,${CROSS_COMPILER_TARGET_ARCHS},$(foreach l,$(LINK_$a),$(eval $(call MAKELINKDIRS,$l,$a)))) install:: - @test ! -d ${MODULE_LOCATION}/R${EPICSVERSION} || \ - (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION} already exists.If you really want to overwrite then uninstall first."; false) + @test ! -d ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} || \ + (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} already exists.If you really want to overwrite then uninstall first."; false) install build:: # Delete old build if INSTBASE has changed. -- GitLab