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
c529917c
Commit
c529917c
authored
12 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Keep a backup of the previous NuttXConfigVariables.html file
parent
770ce014
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/mkconfigvars.sh
+9
-0
9 additions, 0 deletions
tools/mkconfigvars.sh
with
9 additions
and
0 deletions
tools/mkconfigvars.sh
+
9
−
0
View file @
c529917c
...
...
@@ -41,6 +41,7 @@ KCONFIG2HTML2=tools/kconfig2html.exe
KCONFIG2MAKEFILE
=
Makefile.host
KCONFIG2MAKEDIR
=
tools
HTMLFILE
=
Documentation/NuttXConfigVariables.html
BKUPFILE
=
Documentation/NuttXConfigVariables.bkp
# A version argument may be provided
...
...
@@ -96,6 +97,14 @@ else
fi
fi
# Keep a backup of the previous HTML file. This is usefully primarily
# for testing the effects of changes.
if
[
-e
"
${
HTMLFILE
}
"
]
;
then
rm
-f
${
BKUPFILE
}
||
{
echo
"ERROR: Failed to remove
${
BKUPFILE
}
"
;
exit
1
;
}
mv
${
HTMLFILE
}
${
BKUPFILE
}
||
{
echo
"ERROR: Failed to move
${
HTMLFILE
}
"
;
exit
1
;
}
fi
# Now re-create the configuration variable document
${
KCONFIG2HTML
}
-a
"
${
APPSDIR
}
"
-o
${
HTMLFILE
}
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