Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FlightOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armin Luntzer
FlightOS
Commits
b3dbcf55
Commit
b3dbcf55
authored
Sep 23, 2020
by
Armin Luntzer
Browse files
Options
Downloads
Patches
Plain Diff
warn if modules are enabled and embedded image creation is enabled,
non are built or no path to an embeddable application is specified
parent
baeaddf3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/link-leanos.sh
+8
-8
8 additions, 8 deletions
scripts/link-leanos.sh
with
8 additions
and
8 deletions
scripts/link-leanos.sh
+
8
−
8
View file @
b3dbcf55
...
@@ -288,14 +288,14 @@ fi
...
@@ -288,14 +288,14 @@ fi
# this is a 3rd pass option, we need modules.order beforehand
# this is a 3rd pass option, we need modules.order beforehand
if
[
"
$1
"
=
"embed"
]
;
then
if
[
"
$1
"
=
"embed"
]
;
then
#
if [ ! -s ${srctree}/modules.order ]; then
if
[
!
-s
${
srctree
}
/modules.order
]
||
[!
-s
${
CONFIG_EMBED_APPLICATION
}
]
;
then
#
echo >&2
echo
>
&2
#
echo >&2 modules.order empty or nonexistant, cannot embed image.
echo
>
&2 modules.order
or application path
empty or nonexistant, cannot embed image.
#
echo >&2 Maybe you have no loadable modules configured?
echo
>
&2 Maybe you have no loadable modules configured
or no executable path specified
?
#
echo >&2 Kernel image unchanged.
echo
>
&2 Kernel image unchanged.
#
echo >&2
echo
>
&2
#
exit
exit
#
fi
fi
if
[
-n
"
${
CONFIG_TARGET_COMPILER_BOOT_CODE
}
"
]
;
then
if
[
-n
"
${
CONFIG_TARGET_COMPILER_BOOT_CODE
}
"
]
;
then
embedflags
=
"-Wl,--format=binary -Wl,modules.image -Wl,--format=default"
embedflags
=
"-Wl,--format=binary -Wl,modules.image -Wl,--format=default"
...
...
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
sign in
to comment