mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
gdb-cross: use PACKAGECONFIG for python and readline
(From OE-Core rev: 41673bb53108cd4d0f0f37c8c675256c80173135) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5005cab723
commit
04344ebbc4
@@ -1,10 +1,13 @@
|
||||
require gdb-common.inc
|
||||
|
||||
DEPENDS = "expat-native ncurses-native readline-native python-native"
|
||||
DEPENDS = "expat-native ncurses-native"
|
||||
|
||||
inherit pythonnative
|
||||
|
||||
EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
|
||||
# Overrides PACKAGECONFIG variables in gdb-common.inc
|
||||
PACKAGECONFIG ??= "python readline"
|
||||
PACKAGECONFIG[python] = "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python,--without-python,python-native"
|
||||
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline-native"
|
||||
|
||||
do_compile_prepend() {
|
||||
export BUILD_SYS="${BUILD_SYS}"
|
||||
|
||||
Reference in New Issue
Block a user