Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Lindh Olsson
e3-require
Commits
2087d38b
Commit
2087d38b
authored
9 years ago
by
Dirk Zimoch
Browse files
Options
Downloads
Patches
Plain Diff
delete code on new facility only if there are dependencies
parent
e630ec42
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
App/tools/driver.makefile
+9
-3
9 additions, 3 deletions
App/tools/driver.makefile
with
9 additions
and
3 deletions
App/tools/driver.makefile
+
9
−
3
View file @
2087d38b
...
@@ -388,9 +388,11 @@ $(foreach a,${CROSS_COMPILER_TARGET_ARCHS},$(foreach l,$(LINK_$a),$(eval $(call
...
@@ -388,9 +388,11 @@ $(foreach a,${CROSS_COMPILER_TARGET_ARCHS},$(foreach l,$(LINK_$a),$(eval $(call
# (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} already exists.If you really want to overwrite then uninstall first."; false)
# (echo -e "Error: ${MODULE_LOCATION}/R${EPICSVERSION}/lib/${T_A} already exists.If you really want to overwrite then uninstall first."; false)
install build
::
install build
::
# Delete old build if INSTBASE has changed.
# Delete old build if INSTBASE has changed
and module depends on other modules
.
@for
ARCH
in
${CROSS_COMPILER_TARGET_ARCHS};
do
\
@for
ARCH
in
${CROSS_COMPILER_TARGET_ARCHS};
do
\
echo
$(
realpath
${
EPICS_MODULES
})
|
cmp
-s
O.${EPICSVERSION}_$$ARCH/INSTBASE
-
||
$(RMDIR)
O.${EPICSVERSION}_$$ARCH;
\
cmp
-s
O.${EPICSVERSION}_$$ARCH/INSTBASE
<<<
'$(realpath ${EPICS_MODULES})'
||
\
(
grep
-qs
"^[^#]"
O.${EPICSVERSION}_$$ARCH/*.dep
&&
\
(echo
"rebuilding $$ARCH"
;
$(RMDIR)
O.${EPICSVERSION}_$$ARCH)
)
||
true;
\
done
done
install build debug
::
install build debug
::
...
@@ -448,7 +450,11 @@ export REQ
...
@@ -448,7 +450,11 @@ export REQ
else
# in O.*
else
# in O.*
## RUN 4
## RUN 4
# in O.* directory
# in O.* directory
$(
foreach
v, USR_INCLUDES USR_CFLAGS USR_CXXFLAGS USR_CPPFLAGS,
$(
eval
$v
+
=
$${
$v_
${
OS_CLASS
}}
$${
$v_
${
T_A
}}
$${
$v_
${
EPICS_BASETYPE
}}
$${
$v_
${
EPICSVERSION
}}))
# add macros like USR_CFLAGS_vxWorks
EXTENDED_VARS
=
USR_INCLUDES USR_CFLAGS USR_CXXFLAGS USR_CPPFLAGS CODE_CXXFLAGS
VAR_EXTENSIONS
=
OS_CLASS T_A EPICS_BASETYPE EPICSVERSION
$(
foreach
v,
${
EXTENDED_VARS
}
,
$(
foreach x,
${
VAR_EXTENSIONS
}
,
$(
eval
$v
+
=
$${
$v_
${
$x
}})))
CFLAGS
+=
${
EXTRA_CFLAGS
}
CFLAGS
+=
${
EXTRA_CFLAGS
}
MODULEDBD
=
${
if
$(
strip
${
DBDFILES
})
,
${
PRJ
}
.dbd
}
MODULEDBD
=
${
if
$(
strip
${
DBDFILES
})
,
${
PRJ
}
.dbd
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment