Skip to content
Snippets Groups Projects
Commit b3dbcf55 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

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
...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment