Преглед изворни кода

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 <[email protected]>
Álvaro Fernández Rojas пре 2 година
родитељ
комит
8758438c27
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      target/linux/ramips/image/common-sercomm.mk

+ 1 - 1
target/linux/ramips/image/common-sercomm.mk

@@ -51,7 +51,7 @@ define Build/sercomm-payload
 	$(TOPDIR)/scripts/sercomm-payload.py \
 		--input-file $@ \
 		--output-file [email protected] \
-		--pid "$$(cat [email protected] | od -t x1 -An -v | tr -d '\n')"
+		--pid-file [email protected]
 	mv [email protected] $@
 	rm [email protected]
 endef