scripts: socfpga: statify sys_mgr_init_table
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@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
fbba349cd5
commit
d957339439
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue