From e238c85e571f5260a55a4c85fe92c68699e23521 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Tue, 2 Jun 2020 13:01:35 +0200 Subject: [PATCH] bcm63xx: nand: sercomm: switch to sercomm-load script MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit xxd is not a valid dependency and shouldn't be used. Fixes buildbot failure. Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm63xx/image/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/target/linux/bcm63xx/image/Makefile b/target/linux/bcm63xx/image/Makefile index fdeb100dd9..eb4b78b06a 100644 --- a/target/linux/bcm63xx/image/Makefile +++ b/target/linux/bcm63xx/image/Makefile @@ -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 -- 2.30.2