The preloader import-script misses the sys_mgr_init_table variable. When multiple boards are build, this will lead to compile errors, because the variable exists multiple times. Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> --- scripts/socfpga_import_preloader | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/socfpga_import_preloader b/scripts/socfpga_import_preloader index 9fc657e483e6..b08262cb6c83 100755 --- a/scripts/socfpga_import_preloader +++ b/scripts/socfpga_import_preloader @@ -29,6 +29,7 @@ copy_source() { echo " Fixing extern/static keywords..." # Statify all global variables with missing static keyword sed -i 's/^const /static const /g' $tgt + sed -i 's/^unsigned long sys_mgr_init_table/static unsigned long sys_mgr_init_table/g' $tgt echo " Remove unused defines..." sed -i 's/\[CONFIG_HPS_PINMUX_NUM\]/\[\]/g' $tgt -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox