Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
33abea6f
Commit
33abea6f
authored
Dec 18, 2013
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM plc cross compile bugfix
parent
97cbbe7d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
14 deletions
+54
-14
src/tools/pkg/deb/adm/pwra_env.sh
src/tools/pkg/deb/adm/pwra_env.sh
+8
-2
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
+8
-2
src/tools/pkg/ubu/adm/pwra_env.sh
src/tools/pkg/ubu/adm/pwra_env.sh
+7
-1
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
+8
-2
src/tools/pwre/src/os_linux/hw_arm/import_files.mk
src/tools/pwre/src/os_linux/hw_arm/import_files.mk
+1
-1
wb/exp/com/src/os_linux/hw_arm/wb_gcg.sh
wb/exp/com/src/os_linux/hw_arm/wb_gcg.sh
+2
-1
wb/exp/com/src/os_linux/wb_gcg.sh
wb/exp/com/src/os_linux/wb_gcg.sh
+3
-3
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+17
-2
No files found.
src/tools/pkg/deb/adm/pwra_env.sh
View file @
33abea6f
...
@@ -28,7 +28,13 @@ pwra_set_func()
...
@@ -28,7 +28,13 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
echo
"Base
$baseroot
doesn't exist"
elif
[
"
$3
"
!=
"cross"
]
;
then
elif
[
"
$3
"
=
""
]
;
then
if
[
!
-e
$baseroot
/
$3
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$3
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
echo
"Not a base directory:
$baseroot
"
return
return
...
@@ -153,7 +159,7 @@ pwra_parse ()
...
@@ -153,7 +159,7 @@ pwra_parse ()
cmd
=
"set"
cmd
=
"set"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
pwra_set_func
$2
$3
pwra_set_func
$2
$3
$4
return
return
fi
fi
...
...
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
View file @
33abea6f
...
@@ -28,7 +28,13 @@ pwra_set_func()
...
@@ -28,7 +28,13 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
echo
"Base
$baseroot
doesn't exist"
elif
[
"
$3
"
!=
"cross"
]
;
then
elif
[
"
$3
"
=
""
]
;
then
if
[
!
-e
$baseroot
/
$3
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$3
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
echo
"Not a base directory:
$baseroot
"
return
return
...
@@ -153,7 +159,7 @@ pwra_parse ()
...
@@ -153,7 +159,7 @@ pwra_parse ()
cmd
=
"set"
cmd
=
"set"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
pwra_set_func
$2
$3
pwra_set_func
$2
$3
$4
return
return
fi
fi
...
...
src/tools/pkg/ubu/adm/pwra_env.sh
View file @
33abea6f
...
@@ -28,7 +28,13 @@ pwra_set_func()
...
@@ -28,7 +28,13 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
echo
"Base
$baseroot
doesn't exist"
elif
[
"
$3
"
!=
"cross"
]
;
then
elif
[
"
$3
"
=
""
]
;
then
if
[
!
-e
$baseroot
/
$3
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$3
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
echo
"Not a base directory:
$baseroot
"
return
return
...
...
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
View file @
33abea6f
...
@@ -28,7 +28,13 @@ pwra_set_func()
...
@@ -28,7 +28,13 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
echo
"Base
$baseroot
doesn't exist"
elif
[
"
$3
"
!=
"cross"
]
;
then
elif
[
"
$3
"
=
""
]
;
then
if
[
!
-e
$baseroot
/
$3
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
fi
source
$baseroot
/
$3
/exp/exe/pwrp_env.sh
set
baseroot
$baseroot
else
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
echo
"Not a base directory:
$baseroot
"
return
return
...
@@ -153,7 +159,7 @@ pwra_parse ()
...
@@ -153,7 +159,7 @@ pwra_parse ()
cmd
=
"set"
cmd
=
"set"
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
if
[
$1
=
$cmd
]
||
[
${
cmd
#
$1
}
!=
$cmd
]
;
then
pwra_set_func
$2
$3
pwra_set_func
$2
$3
$4
return
return
fi
fi
...
...
src/tools/pwre/src/os_linux/hw_arm/import_files.mk
View file @
33abea6f
...
@@ -79,7 +79,7 @@ op_motif_modules = \
...
@@ -79,7 +79,7 @@ op_motif_modules = \
java_modules
=
\
java_modules
=
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_rt.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_rt.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_jop.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_jop.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_jop
c
.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_jop
g
.jar
\
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_rt_client.jar
$(pwre_broot)
/
$(pwre_os)
/
$(pwre_hw)
/exp/lib/pwr_rt_client.jar
...
...
wb/exp/com/src/os_linux/hw_arm/wb_gcg.sh
View file @
33abea6f
...
@@ -271,10 +271,11 @@ let OpSys_X86_LYNX=5
...
@@ -271,10 +271,11 @@ let OpSys_X86_LYNX=5
let
OpSys_PPC_LINUX
=
6
let
OpSys_PPC_LINUX
=
6
let
OpSys_X86_LINUX
=
7
let
OpSys_X86_LINUX
=
7
let
OpSys_X86_64_LINUX
=
8
let
OpSys_X86_64_LINUX
=
8
let
OpSys_X86_64_MACOS
=
9
let
OpSys_ARM_LINUX
=
10
let
OpSys_ARM_LINUX
=
10
let
OpSys__High
=
11
let
OpSys__High
=
11
vOpSys
=
"custombuild,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux,x86_64_linux,arm_linux"
vOpSys
=
"custombuild,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux,x86_64_linux,
x86_64_macos,
arm_linux"
let
FileType__Low
=
-1
let
FileType__Low
=
-1
let
FileType_Process
=
0
let
FileType_Process
=
0
...
...
wb/exp/com/src/os_linux/wb_gcg.sh
View file @
33abea6f
...
@@ -271,14 +271,14 @@ let OpSys_X86_LYNX=5
...
@@ -271,14 +271,14 @@ let OpSys_X86_LYNX=5
let
OpSys_PPC_LINUX
=
6
let
OpSys_PPC_LINUX
=
6
let
OpSys_X86_LINUX
=
7
let
OpSys_X86_LINUX
=
7
let
OpSys_X86_64_LINUX
=
8
let
OpSys_X86_64_LINUX
=
8
let
OpSys_
ARM_LINUX
=
9
let
OpSys_
X86_64_MACOS
=
9
let
OpSys_
X86_64_MACOS
=
10
let
OpSys_
ARM_LINUX
=
10
let
OpSys_X86_64_FREEBSD
=
11
let
OpSys_X86_64_FREEBSD
=
11
let
OpSys_X86_64_OPENBSD
=
12
let
OpSys_X86_64_OPENBSD
=
12
let
OpSys_X86_CYGWIN
=
13
let
OpSys_X86_CYGWIN
=
13
let
OpSys__High
=
14
let
OpSys__High
=
14
vOpSys
=
"custombuild,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux,x86_64_linux,
arm_linux,x86_64_macos
,x86_64_freebsd,x86_64_openbsd,x86_cygwin"
vOpSys
=
"custombuild,vax_vms,axp_vms,ppc_lynx,x86_lynx,ppc_linux,x86_linux,x86_64_linux,
x86_64_macos,arm_linux
,x86_64_freebsd,x86_64_openbsd,x86_cygwin"
let
FileType__Low
=
-1
let
FileType__Low
=
-1
let
FileType_Process
=
0
let
FileType_Process
=
0
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
33abea6f
...
@@ -2456,6 +2456,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
...
@@ -2456,6 +2456,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
pwr_tString40
platform
;
pwr_tString40
platform
;
pwr_tString40
release
;
pwr_tString40
release
;
FILE
*
fp
;
FILE
*
fp
;
char
expdir
[
80
];
// Get NodeName
// Get NodeName
wb_attribute
a
=
sp
->
attribute
(
nodeo
.
oid
(),
"RtBody"
,
"NodeName"
);
wb_attribute
a
=
sp
->
attribute
(
nodeo
.
oid
(),
"RtBody"
,
"NodeName"
);
...
@@ -2542,10 +2543,24 @@ pwr_tStatus lfu_SaveDirectoryVolume(
...
@@ -2542,10 +2543,24 @@ pwr_tStatus lfu_SaveDirectoryVolume(
fprintf
(
fp
,
"#!/bin/bash
\n\n
"
);
fprintf
(
fp
,
"#!/bin/bash
\n\n
"
);
fprintf
(
fp
,
"let OpSys_PPC_LINUX=32
\n
"
);
fprintf
(
fp
,
"let OpSys_PPC_LINUX=32
\n
"
);
fprintf
(
fp
,
"let OpSys_X86_LINUX=64
\n
"
);
fprintf
(
fp
,
"let OpSys_X86_LINUX=64
\n
"
);
fprintf
(
fp
,
"let OpSys_ARM_LINUX=256
\n\n
"
);
fprintf
(
fp
,
"let OpSys_ARM_LINUX=512
\n\n
"
);
switch
(
opsys
)
{
case
pwr_mOpSys_PPC_LINUX
:
strcpy
(
expdir
,
"os_linux/hw_ppc"
);
break
;
case
pwr_mOpSys_X86_LINUX
:
strcpy
(
expdir
,
"os_linux/hw_x86"
);
break
;
case
pwr_mOpSys_ARM_LINUX
:
strcpy
(
expdir
,
"os_linux/hw_arm"
);
break
;
default:
;
strcpy
(
expdir
,
""
);
}
if
(
strcmp
(
release
,
""
)
!=
0
)
if
(
strcmp
(
release
,
""
)
!=
0
)
fprintf
(
fp
,
"source $pwra_db/pwra_env.sh set base %s
cross
\n\n
"
,
release
);
fprintf
(
fp
,
"source $pwra_db/pwra_env.sh set base %s
%s
\n\n
"
,
release
,
expdir
);
if
(
strcmp
(
cc
,
""
)
!=
0
)
{
if
(
strcmp
(
cc
,
""
)
!=
0
)
{
fprintf
(
fp
,
"export pwre_cc=%s
\n
"
,
cc
);
fprintf
(
fp
,
"export pwre_cc=%s
\n
"
,
cc
);
...
...
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