Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
koceila
fhal-kernel
Commits
83d096dc
Commit
83d096dc
authored
Oct 24, 2020
by
Andreas Werner
Browse files
add FreeRTOS Version Number to version
parent
facca5c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
83d096dc
...
...
@@ -19,6 +19,8 @@ $(obj)/version.c: FORCE
if
git diff-index
--name-only
HEAD |
grep
-qv
"^scripts/package"
>
/dev/null
;
then
\
version
=
"
$$
version-dirty"
;
\
fi
;
\
version
=
"
$$
version
\"
;"
;
\
cd
$$
dir
;
\
echo
$$
version
>
$@
;
version
=
"
$$
version FreeRTOS Version:
\"
tskKERNEL_VERSION_NUMBER;"
;
\
echo
'#include <FreeRTOS.h>'
>
$@
;
\
echo
'#include <task.h>'
>>
$@
;
\
echo
$$
version
>>
$@
;
Write
Preview
Supports
Markdown
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