On 28/03/2024 10:59, Ian Abbott wrote:
On 28/03/2024 08:10, Michael Olbrich wrote:
Put this in "platforms/kernel.fixup.in" in your BSP:
------------------------------->8----------------------------
## SECTION=base_kernel
config KERNEL
select HOST_SYSTEM_PYTHON3
------------------------------->8----------------------------
I'm currently using ptxdist 2024.03.0 but is also reproducible on the
ptxdist master branch.
We should add that dependency Upstream as well. Something like
config KERNEL_PYTHON3
prompt "ensure Python3 is available"
bool
help
Python3 is needed at build-time when CONFIG_DEBUG_INFO_BTF is
enabled.
Thanks. I combined the two and added the following to
"platforms/kernel.fixup.in" in my BSP:
------------------------------->8----------------------------
## SECTION=base_kernel
config KERNEL
select HOST_SYSTEM_PYTHON3 if KERNEL_PYTHON3
config KERNEL_PYTHON3
prompt "ensure Python3 is available"
bool
select HOST_SYSTEM_PYTHON3
^^^^^^^^^^^^^^^^^^^^^^^^^^
I realize that line is redundant. It was left over from my experimentation!
help
Python3 is needed at build-time when CONFIG_DEBUG_INFO is
enabled
------------------------------->8----------------------------
--
-=( Ian Abbott <abbo...@mev.co.uk> || MEV Ltd. is a company )=-
-=( registered in England & Wales. Regd. number: 02862268. )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-