From: Álvaro Fernández Rojas Date: Tue, 2 Jun 2020 11:01:35 +0000 (+0200) Subject: bcm63xx: nand: sercomm: switch to sercomm-load script X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e238c85e571f5260a55a4c85fe92c68699e23521;p=openwrt%2Fstaging%2Flinusw.git 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 --- 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