Skip to content
Snippets Groups Projects
Commit dce6ee0f authored by Gary Bisson's avatar Gary Bisson Committed by Troy Kisky
Browse files

config_distro_bootcmd: allow to add extra scripts and prefixes

parent 51fbdbbf
No related branches found
No related tags found
No related merge requests found
......@@ -333,6 +333,12 @@
BOOTENV_DEV_NAME_##devtypeu(devtypeu, devtypel, instance)
#define BOOTENV_BOOT_TARGETS \
"boot_targets=" BOOT_TARGET_DEVICES(BOOTENV_DEV_NAME) "\0"
#ifndef BOOTENV_EXTRA_BOOT_PREFIXES
#define BOOTENV_EXTRA_BOOT_PREFIXES ""
#endif
#ifndef BOOTENV_EXTRA_BOOT_SCRIPTS
#define BOOTENV_EXTRA_BOOT_SCRIPTS ""
#endif
#define BOOTENV_DEV(devtypeu, devtypel, instance) \
BOOTENV_DEV_##devtypeu(devtypeu, devtypel, instance)
......@@ -346,9 +352,9 @@
BOOTENV_SHARED_IDE \
BOOTENV_SHARED_UBIFS \
BOOTENV_SHARED_EFI \
"boot_prefixes=/ /boot/\0" \
"boot_scripts=boot.scr.uimg boot.scr\0" \
"boot_script_dhcp=boot.scr.uimg\0" \
"boot_prefixes=/ /boot/" BOOTENV_EXTRA_BOOT_PREFIXES "\0" \
"boot_scripts=boot.scr.uimg boot.scr" BOOTENV_EXTRA_BOOT_SCRIPTS "\0" \
"boot_script_dhcp=boot.scr.uimg" BOOTENV_EXTRA_BOOT_SCRIPTS "\0" \
BOOTENV_BOOT_TARGETS \
\
"boot_extlinux=" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment