mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
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:
parent
35d7f92c60
commit
e238c85e57
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user