ramips: sercomm-payload: use pide-file argument
Instead of passing an array of hex bytes for the Sercomm PID we can now use the --pid-file parameter. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ define Build/sercomm-payload
|
|||||||
$(TOPDIR)/scripts/sercomm-payload.py \
|
$(TOPDIR)/scripts/sercomm-payload.py \
|
||||||
--input-file $@ \
|
--input-file $@ \
|
||||||
--output-file $@.tmp \
|
--output-file $@.tmp \
|
||||||
--pid "$$(cat $@.pid | od -t x1 -An -v | tr -d '\n')"
|
--pid-file $@.pid
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
rm $@.pid
|
rm $@.pid
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user