bcm63xx: nand: sercomm: switch to sercomm-load script

xxd is not a valid dependency and shouldn't be used.
Fixes buildbot failure.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2020-06-02 13:01:35 +02:00
parent 35d7f92c60
commit e238c85e57

View File

@ -259,11 +259,12 @@ define Build/cfe-sercomm-part
endef
define Build/cfe-sercomm-load
mv $@ $@.ser
echo $(SERCOMM_PID) | xxd -p -r > $@
sha256sum $@.ser | awk '{ print $1 }' | xxd -p -r >> $@
dd if=$@.ser >> $@
rm -f $@.ser
$(TOPDIR)/scripts/sercomm-payload.py \
--input-file $@ \
--output-file $@.new \
--pid "$(SERCOMM_PID)"
mv $@.new $@
endef
define Build/cfe-sercomm-crypto