mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
Merge pull request #29 from drewmoseley/disable-gdbserver-conditionally
gdb: Disable gdbserver conditionally.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Disable build of gdbserver because it is
|
||||
# provided by external-sourcery-toolchain
|
||||
PACKAGES := "${@oe_filter_out('gdbserver', '${PACKAGES}', d)}"
|
||||
EXTRA_OECONF += "--disable-gdbserver"
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user