package/gdb: don't remove support files if python chosen
authorJonas Zaddach <jzaddach@sourcefire.com>
Tue, 10 Apr 2018 19:37:22 +0000 (12:37 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 27 Apr 2018 21:09:17 +0000 (23:09 +0200)
commitfa5ca6974d2504dccc35f43dcabcf30f076d8685
treeffaefa9b3b0e22a6d2ac4ed498fdd046b2dc509b
parentea7f7aaa6dc4329fc46b09229efafe2dd3896205
package/gdb: don't remove support files if python chosen

If one wants to use GDB with python support on the target, you need the support
files installed by GDB. These get usually deleted to save some space, so I just
wrapped the Makefile code deleting them in a conditional block depending on if
python support is active or not.

Signed-off-by: Jonas Zaddach <jzaddach@cisco.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - use positive logic "if python is disabled"
 - put the comment inside the condition, as suggested by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/gdb/gdb.mk