Files
meta-external-toolchain/core/recipes-devtools/gdb/gdb_7.6.2.bbappend
Drew Moseley d9f1cf6e50 gdb: Disable gdbserver conditionally.
Make the disabling of gdbserver conditional on the value of
TCMODE.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2014-04-14 15:31:06 -04:00

6 lines
348 B
Plaintext

# Disable build of gdbserver because it is
# provided by external-sourcery-toolchain
PACKAGES := "${@oe_filter_out('gdbserver' if '${TCMODE}'.startswith('external-sourcery') else '$', '${PACKAGES}', d)}"
DISABLE_GDBSERVER := "${@'--disable-gdbserver' if '${TCMODE}'.startswith('external-sourcery') else ''}"
EXTRA_OECONF += "${DISABLE_GDBSERVER}"