Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LabComm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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 Blomdell
LabComm
Commits
3f193a6f
Commit
3f193a6f
authored
9 years ago
by
Anders Blomdell
Browse files
Options
Downloads
Patches
Plain Diff
Add vxworks files to build requires
parent
053b2f30
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
packaging/make_srpm
+4
-2
4 additions, 2 deletions
packaging/make_srpm
with
4 additions
and
2 deletions
packaging/make_srpm
+
4
−
2
View file @
3f193a6f
...
@@ -111,6 +111,7 @@ License: GPLv3
...
@@ -111,6 +111,7 @@ License: GPLv3
Source0: labcomm__DESCRIBE__.tar.gz
Source0: labcomm__DESCRIBE__.tar.gz
BuildRequires: __CROSS_COMPILE__-gcc
BuildRequires: __CROSS_COMPILE__-gcc
BuildRequires: __VXWORKS__
%description
%description
LabComm communication protocol
LabComm communication protocol
...
@@ -177,9 +178,9 @@ rpmbuild --define "_topdir $(pwd)/rpmbuild" \
...
@@ -177,9 +178,9 @@ rpmbuild --define "_topdir $(pwd)/rpmbuild" \
# Create cross compilation spec and .src.rpm
# Create cross compilation spec and .src.rpm
(
cat
<<
'
EOF
'
(
cat
<<
'
EOF
'
i586-wrs-vxworks /opt/robot/include/vxworks/5.5.1/
i586-wrs-vxworks /opt/robot/include/vxworks/5.5.1/
abb_vxworks_5.5.1
EOF
EOF
)
|
while
read
C_C W_B
;
do
)
|
while
read
C_C W_B
V_W
;
do
L_D
=
/usr/
${
C_C
}
/lib
L_D
=
/usr/
${
C_C
}
/lib
I_D
=
/usr/
${
C_C
}
/include
I_D
=
/usr/
${
C_C
}
/include
(
(
...
@@ -190,6 +191,7 @@ EOF
...
@@ -190,6 +191,7 @@ EOF
|
sed
-e
"s|__COMMIT__|
${
COMMIT
}
|g"
\
|
sed
-e
"s|__COMMIT__|
${
COMMIT
}
|g"
\
|
sed
-e
"s|__CROSS_COMPILE__|
${
C_C
}
|g"
\
|
sed
-e
"s|__CROSS_COMPILE__|
${
C_C
}
|g"
\
|
sed
-e
"s|__WIND_BASE__|
${
W_B
}
|g"
\
|
sed
-e
"s|__WIND_BASE__|
${
W_B
}
|g"
\
|
sed
-e
"s|__VXWORKS__|
${
V_W
}
|g"
\
|
sed
-e
"s|__LIBDIR__|
${
L_D
}
|g"
\
|
sed
-e
"s|__LIBDIR__|
${
L_D
}
|g"
\
|
sed
-e
"s|__INCLUDEDIR__|
${
I_D
}
|g"
|
sed
-e
"s|__INCLUDEDIR__|
${
I_D
}
|g"
)
>
rpmbuild/SPECS/
${
C_C
}
-labcomm
${
SUFFIX
}
-
${
VERSION
}
.spec
)
>
rpmbuild/SPECS/
${
C_C
}
-labcomm
${
SUFFIX
}
-
${
VERSION
}
.spec
...
...
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