package/strace: don't remove strace-graph unconditionally
authorBaruch Siach <baruch@tkos.co.il>
Tue, 27 Nov 2018 10:16:56 +0000 (12:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 28 Nov 2018 20:53:22 +0000 (21:53 +0100)
commitfe3d60edf292a3c4609ccda5527f113297ac9d44
tree28c088798e3490e224e3165b56e3de912a7de155
parentd6b68e6b6a81985ff5bcb9836d0d02c1fbed3e47
package/strace: don't remove strace-graph unconditionally

strace-graph is a perl script. This script is removed unconditionally
since commit 720c0ca5ba7 ("strace: convert to makefile.autotools.in
format") from 2008. Since then Buildroot added support for perl on
target. Don't remove strace-graph when perl is built for target.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Thomas: move the hook definition inside the condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/strace/strace.mk