]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting
authorJohannes Schrimpf <dev@loewen-email.de>
Tue, 25 Apr 2023 09:15:32 +0000 (11:15 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 May 2023 09:57:08 +0000 (10:57 +0100)
commit2442ab92f8610784d28d8d83056b643bd95b0b4e
tree10e296dcac0bb90fad2f222adcf3e07900de92e7
parent511bcd965af658e6bb0c61d9f2adb1af75af773b
python3targetconfig.bbclass: Extend PYTHONPATH instead of overwriting

[YOCTO #15108] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15108

Since the latest change, the PYTHONPATH is overwritten instead of extended.
This leads to changed behavior and build errors of recipes where the PYTHONPATH
is set before setup_target_config is run.

Fixes: c9617c03bcee ("python3targetconfig.bbclass: use PYTHONPATH to point to the target config")
Signed-off-by: Johannes Schrimpf <dev@loewen-email.de>
[Luca: add Fixes: tag]
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/python3targetconfig.bbclass