aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-06-02 13:01:35 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-06-02 13:10:00 +0200
commite238c85e571f5260a55a4c85fe92c68699e23521 (patch)
treeaab4facd71ee7af5fb8ae25e826fc910433e2eed /target/linux/bcm63xx
parent35d7f92c60efb161fec26313ea47895197da4506 (diff)
downloadupstream-e238c85e571f5260a55a4c85fe92c68699e23521.tar.gz
upstream-e238c85e571f5260a55a4c85fe92c68699e23521.tar.bz2
upstream-e238c85e571f5260a55a4c85fe92c68699e23521.zip
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>
Diffstat (limited to 'target/linux/bcm63xx')
-rw-r--r--target/linux/bcm63xx/image/Makefile11
1 files 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