genconfig: trigger a rebuild of bcmkernel if the boardid change.

This was not needed before as only the PROFILE changed the result.
Now also boardid is going to produce a different kernel and CFE on ARM
based socs. So we need to make sure that they are rebuilt even if the new board is using
the same PROFILE.
This commit is contained in:
Kenneth Johansson 2017-06-15 14:10:50 +02:00
parent 9b1c5e2b64
commit 58201949fc

View file

@ -292,6 +292,11 @@ function genconfig {
# Needed to disable kmods for iopsys-brcm targets
touch package/kernel/linux/Makefile
# we need to signal to bradcom SDK that we have changed the board id
# currently boardparms.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
# Set default values based on selected parameters
v "$(make defconfig 2>&1)"