iop/scripts/genconfig: Always write .current_config_file

This commit is contained in:
Mats Karrman 2016-08-30 10:06:34 +02:00
parent fa4eb2dd1a
commit 5c0dc7e33d

View file

@ -188,9 +188,10 @@ function genconfig {
echo "CONFIG_TARGET_${target}=y" >> .config
echo "CONFIG_TARGET_${target}_${BOARDTYPE}=y" >> .config
echo "$BOARDTYPE $CUSTOMER" > .current_config_file
# Add customerconfig diff if a customer is selected
if [ -n "$CUSTOMER" ]; then
echo "$BOARDTYPE $CUSTOMER" > .current_config_file
if [ -d "$CUSTCONF/$BOARDTYPE/$CUSTOMER/fs" ]; then
v "cp -rLp $CUSTCONF/$BOARDTYPE/$CUSTOMER/fs/* $FILEDIR"
cp -rLp $CUSTCONF/$BOARDTYPE/$CUSTOMER/fs/* $FILEDIR