Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wanghuo-open
meta-ros
Commits
746d58bb
Commit
746d58bb
authored
6 years ago
by
Herb Kuta
Browse files
Options
Download
Email Patches
Plain Diff
ros_component.bbclass: Use ??= when assigning ROS_BPN, ROS_SPN, ROS_SP
parent
2c3773d7
master
dunfell
dunfell-next
gatesgarth
gatesgarth-next
hardknott
hardknott-next
honister
honister-next
kirkstone
kirkstone-next
langdale
langdale-next
master-next
master-previous
mickledore
mickledore-next
nanbield
nanbield-next
thud
thud-next
warrior
warrior-next
zeus
zeus-next
zeus/milestones/13
zeus/milestones/12
zeus/milestones/11
warrior/milestones/13
warrior/milestones/12
warrior/milestones/11
thud/milestones/13
thud/milestones/12
thud/milestones/11
thud/milestones/10
thud/milestones/9
thud/milestones/8
thud/milestones/7
thud/milestones/6
thud/milestones/5
master/milestones/17
master/milestones/16
master/milestones/15
master/milestones/14
master/milestones/13
master/milestones/12
master/milestones/11
master/milestones/10
master/milestones/9
master/milestones/8
master/milestones/7
master/milestones/6
master/milestones/5
honister/milestones/17
hardknott/milestones/17
hardknott/milestones/16
gatesgarth/milestones/17
gatesgarth/milestones/16
gatesgarth/milestones/15
dunfell/milestones/17
dunfell/milestones/16
dunfell/milestones/15
dunfell/milestones/14
dunfell/milestones/13
dunfell/milestones/12
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
classes/ros_component.bbclass
+3
-3
classes/ros_component.bbclass
with
3 additions
and
3 deletions
+3
-3
classes/ros_component.bbclass
View file @
746d58bb
...
...
@@ -10,9 +10,9 @@ export ROS_PYTHON_VERSION
# in generated-ros-distro.inc, ie, it will never be unset when we get here.
PYTHON_PN ??= "${@'python3' if d.getVar('ROS_PYTHON_VERSION', True) == '3' else 'python'}"
ROS_BPN = "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_SPN ?= "${ROS_BPN}"
ROS_SP = "${ROS_SPN}-${PV}"
ROS_BPN
??
= "${@d.getVar('BPN', True).replace('-', '_')}"
ROS_SPN
?
?= "${ROS_BPN}"
ROS_SP
??
= "${ROS_SPN}-${PV}"
inherit faulty-solibs
FILES_${PN}_prepend = " \
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help