toolchain-external: extract installation of gdbserver to separate define
commit10e905f83dd4aebdea4c51ccbe4260f5adc6748c
authorThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Fri, 12 Feb 2016 19:20:24 +0000 (12 20:20 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 25 Apr 2016 20:05:45 +0000 (25 22:05 +0200)
treeedc7b9f68d7e47fa38a21d00519e79465908788e
parent38040b2e1f25e17b94a9ac33dc09fc728ef46381
toolchain-external: extract installation of gdbserver to separate define

The installation of the gdbserver binary has no relation to the installation
of the target libraries. Moving it to a separate define improves the
understandability of the code and makes later refactoring easier.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[Thomas:
 - move the BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY condition as a make
   condition rather than a shell condition, as suggested by Romain
   Naour.
 - rename the TOOLCHAIN_EXTERNAL_INSTALL_GDBSERVER variable to
   TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/toolchain-external.mk