Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
canghaiwuhen
OpenXG-RAN
Commits
544288a4
Commit
544288a4
authored
Feb 24, 2015
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@6603
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
1d849624
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
60 deletions
+0
-60
targets/build_oai.bash
targets/build_oai.bash
+0
-60
No files found.
targets/build_oai.bash
View file @
544288a4
...
...
@@ -675,66 +675,6 @@ build_hss(){
############################################
# set the build
############################################
if
[
x
$BUILD_LTE
==
x
]
;
then
:
${
DIALOG_OK
=0
}
:
${
DIALOG_CANCEL
=1
}
:
${
DIALOG_HELP
=2
}
:
${
DIALOG_EXTRA
=3
}
:
${
DIALOG_ITEM_HELP
=4
}
:
${
DIALOG_ESC
=255
}
:
${
SIG_NONE
=0
}
:
${
SIG_HUP
=1
}
:
${
SIG_INT
=2
}
:
${
SIG_QUIT
=3
}
:
${
SIG_KILL
=9
}
:
${
SIG_TERM
=15
}
input
=
`
tempfile 2>/dev/null
`
||
input
=
/tmp/input
$$
output
=
`
tempfile 2>/dev/null
`
||
output
=
/tmp/test
$$
trap
"rm -f
$input
$output
"
$SIG_NONE
$SIG_HUP
$SIG_INT
$SIG_TRAP
$SIG_TERM
cat
>
$input
<<-
EOF
ENB: evolved Node B target
EPC: Experimental Evolved Packet Core target
HSS: Experimental Home Subscriber Server target
NONE: Do not build/run anything
EOF
cat
$input
|
sed
-e
's/^/"/'
-e
's/:/" "/g'
-e
's/$/"/'
>
$output
cat
$output
>
$input
BUILD_LTE
=
"NONE"
dialog
--clear
--title
"BUILD TARGET SELECTION"
\
--menu
"You did not choose a target
\n\
to build (optionaly to run)
\n\
You can use the UP/DOWN arrow keys,
\n\
the first letter of the choice as a hot key,
\n\
or the number keys 1-4 to choose an option.
\n\
\n\n\
Choose the target:"
20 69 4
\
--file
$input
2>
$output
retval
=
$?
tempfile
=
$output
case
$retval
in
$DIALOG_OK
)
BUILD_LTE
=
`
cat
$tempfile
`
;;
$DIALOG_CANCEL
)
;;
$DIALOG_HELP
)
;;
$DIALOG_EXTRA
)
;;
$DIALOG_ITEM_HELP
)
;;
$DIALOG_ESC
)
;;
*
)
;;
esac
fi
echo_info
"3. set the top-level build target"
case
"
$BUILD_LTE
"
in
...
...
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