Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
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
f4grx
NuttX RTOS
Commits
00e0ff54
Commit
00e0ff54
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
tools/testbuild.sh: Changes needed for testing the simulator under Cygwin
parent
1c8216a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs
+1
-1
1 addition, 1 deletion
configs
tools/testbuild.sh
+11
-5
11 additions, 5 deletions
tools/testbuild.sh
with
12 additions
and
6 deletions
configs
@
1c21c243
Subproject commit
ee8c7ecbcba5a420e39de92502f7649f8baff169
Subproject commit
1c21c243d0a4a426940a87b3519f9a8ff059302f
This diff is collapsed.
Click to expand it.
tools/testbuild.sh
+
11
−
5
View file @
00e0ff54
...
...
@@ -49,7 +49,7 @@ function showusage {
echo
"where"
echo
" -w|l selects Windows (w) or Linux (l). Default: Linux"
echo
" -c|n selects Windows native (n) or Cygwin (c). Default Cygwin"
echo
" -s Use C++ long size_t in new operator. Default unsigned
long
"
echo
" -s Use C++
unsigned
long size_t in new operator. Default unsigned
int
"
echo
" -h will show this help test and terminate"
echo
" <testlist-file> selects the list of configurations to test. No default"
echo
""
...
...
@@ -73,7 +73,7 @@ while [ ! -z "$1" ]; do
wenv
=
cygwin
;;
-n
)
wenv
=
n
wenv
=
n
ative
;;
-s
)
sizet
=
long
...
...
@@ -142,23 +142,30 @@ function configure {
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_MSYS
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_OTHER
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_SIM_X8664_SYSTEMV
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_SIM_X8664_MICROSOFT
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_SIM_M32
else
echo
" Select CONFIG_HOST_WINDOWS=y"
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_HOST_WINDOWS
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_HOST_LINUX
if
[
"X
$wenv
"
==
"Xcygwin"
]
;
then
echo
" Select CONFIG_
HOST
_CYGWIN=y"
echo
" Select CONFIG_
WINDOWS
_CYGWIN=y"
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_WINDOWS_CYGWIN
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_NATIVE
else
echo
" Select CONFIG_
HOST_MSYS
=y"
echo
" Select CONFIG_
WINDOWS_NATIVE
=y"
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_WINDOWS_NATIVE
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_CYGWIN
fi
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_MSYS
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_WINDOWS_OTHER
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_SIM_X8664_MICROSOFT
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_SIM_X8664_SYSTEMV
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_SIM_M32
fi
kconfig-tweak
--file
$nuttx
/.config
--disable
CONFIG_HOST_OSX
...
...
@@ -166,7 +173,6 @@ function configure {
if
[
"X
$sizet
"
==
"Xlong"
]
;
then
echo
" Select CONFIG_CXX_NEWLONG=y"
kconfig-tweak
--file
$nuttx
/.config
--enable
CONFIG_CXX_NEWLONG
else
echo
" Disable CONFIG_CXX_NEWLONG"
...
...
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