genconfig: ignore missing files.

Do not print out error if the files do not exist.
This commit is contained in:
Kenneth Johansson 2017-07-07 15:00:52 +02:00
parent 32398552f4
commit 519be9e690

View file

@ -296,7 +296,7 @@ function genconfig {
# we need to signal to bradcom SDK that we have changed the board id
# currently boardparms.c and boardparms_voice.c is the only place that is depending on inteno boardid name
# so just touch that file.
find build_dir/ -name "boardparms*c" -print0 | xargs -0 touch
find build_dir/ -name "boardparms*c" -print0 2>/dev/null | xargs -0 touch 2>/dev/null
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"