iop: fix genconfig path

This commit is contained in:
Jonas Höglund 2017-04-04 16:35:23 +02:00
parent affb441247
commit abff7287ec

View file

@ -215,7 +215,8 @@ function genconfig {
fi
# Add target diff
local target_conf=target/linux/${target/_/-}/config
local target_name=$(echo $target | sed 's/_/-/g')
local target_conf=target/linux/${target_name}/config
if [ -f $target_conf ]; then
cat $target_conf >> .config
fi