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
committed by AmadeusGhost
parent b2c312a1ea
commit a94de80d10

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