* [Buildroot] Python for host?
@ 2024-10-18 2:43 Kennedy, Andy Collins via buildroot
2024-10-18 5:16 ` Baruch Siach via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Kennedy, Andy Collins via buildroot @ 2024-10-18 2:43 UTC (permalink / raw)
To: buildroot@buildroot.org
Hi all!
I'm in need of Python 3 and supporting libraries for the host. I do not
want to build Python3 and the libraries for my limited storage embedded
system, but I do have requirements on it for the host. One of the
libraries I need is python-pylibfdt. It seems that I can only select to
build the host version of this package if I have selected packages ->
Python3, then choose the external package at that time. Given that I
have a build need for this tool (a support package from a vendor that
needs that library and I'm working on a super old Ubuntu distro and
am unable to update) I would really like to select and build the host
package. I can go through and add in a Config.in.host for this
particular package and dup the .mk file as HOST (removing the
$(eval host-python-package) into the host-...mk file but I feel like
this is the wrong way.
Anyone else in the WORLD having to run BR on a 20yo system and need
Python host? Anyone have a clue an easy solution? Am I just being
dumb? <<<< I HOPE that is the easy answer.
Thanks,
Andy
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Buildroot] Python for host?
2024-10-18 2:43 [Buildroot] Python for host? Kennedy, Andy Collins via buildroot
@ 2024-10-18 5:16 ` Baruch Siach via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach via buildroot @ 2024-10-18 5:16 UTC (permalink / raw)
To: Kennedy, Andy Collins via buildroot; +Cc: Kennedy, Andy Collins
Hi Andy,
On Fri, Oct 18 2024, Kennedy, Andy Collins via buildroot wrote:
> I'm in need of Python 3 and supporting libraries for the host. I do not
> want to build Python3 and the libraries for my limited storage embedded
> system, but I do have requirements on it for the host. One of the
> libraries I need is python-pylibfdt. It seems that I can only select to
> build the host version of this package if I have selected packages ->
> Python3, then choose the external package at that time. Given that I
> have a build need for this tool (a support package from a vendor that
> needs that library and I'm working on a super old Ubuntu distro and
> am unable to update) I would really like to select and build the host
> package. I can go through and add in a Config.in.host for this
> particular package and dup the .mk file as HOST (removing the
> $(eval host-python-package) into the host-...mk file but I feel like
> this is the wrong way.
>
> Anyone else in the WORLD having to run BR on a 20yo system and need
> Python host? Anyone have a clue an easy solution? Am I just being
> dumb? <<<< I HOPE that is the easy answer.
Adding host-python-pylibfdt to the list of your target package
<PKG>_DEPENDENCIES should be enough. No need for Config.in.host
file. See for example boot/ti-k3-r5-loader/ti-k3-r5-loader.mk, and
boot/uboot/uboot.mk, that both use host-python-pylibfdt.
Hope this helps,
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-18 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 2:43 [Buildroot] Python for host? Kennedy, Andy Collins via buildroot
2024-10-18 5:16 ` Baruch Siach via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox