Go to file
Gwenhael Goavec-Merou e22b450692 package/gnuradio: fix gnuradio python libraries for cross-compile
By default, module libraries have a suffix based on cpython version + host
architecture: this is fine for a native compile when these libraries are used on
the same computer (or similar computers). But when target architecture is not
the same python is unable to find libraries due to the wrong suffix and produces
unclear errors messages:

# python3
Python 3.11.3 (main, Jun 19 2023, 14:15:44) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnuradio import blocks
Traceback (most recent call last):
  File "/home/xxx/buildroot/output/build/gnuradio-3.10.4.0/gr-blocks/python/blocks/__init__.py", line 18, in <module>
ModuleNotFoundError: No module named 'gnuradio.blocks.blocks_python'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/xxx/buildroot/output/build/gnuradio-3.10.4.0/gr-blocks/python/blocks/__init__.py", line 22, in <module>
ModuleNotFoundError: No module named 'gnuradio.blocks.blocks_python'
>>>

By adding _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" at configure time, sysconfig will
return correct informations (target architecture) instead of host architecture.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-22 23:14:22 +02:00
arch arch/Config.in.riscv: Remove BR2_RISCV_ISA_CUSTOM_RVA from BR2_riscv_custom 2023-06-26 19:02:09 +02:00
board board/raspberrypi: handle dtb overlays for all variants 2023-07-06 13:56:49 +02:00
boot boot/uboot: set DTC path when BR2_TARGET_UBOOT_NEEDS_DTC 2023-07-18 22:39:14 +02:00
configs configs/olimex_stmp157: bump Linux and U-Boot 2023-07-12 20:48:23 +02:00
docs docs/website: Update for 2023.02.3 2023-07-17 23:41:31 +02:00
fs fs/cpio: allow users to provide their own dracut modules 2023-02-06 22:46:35 +01:00
linux package/linux-headers: drop 6.3.x option 2023-07-20 23:30:28 +02:00
package package/gnuradio: fix gnuradio python libraries for cross-compile 2023-07-22 23:14:22 +02:00
support support/testing/tests/package/test_gawk.py: new runtime test 2023-07-21 23:35:44 +02:00
system system: Warn if systemd is used with kernel < 4.15 2023-02-07 22:51:26 +01:00
toolchain {toolchain, linux-headers}: add support for 6.4 headers 2023-07-06 10:27:46 +02:00
utils utils/genrandconfig: increase default target ubifs image size 2023-07-14 23:26:09 +02:00
.checkpackageignore package/janet: bump to version 1.29.1 2023-07-21 23:12:44 +02:00
.clang-format
.defconfig
.flake8
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: update Docker image to use 2023-02-07 18:15:00 +01:00
.shellcheckrc
CHANGES Update for 2023.02.3 2023-07-17 23:21:48 +02:00
Config.in toolchain: make paranoid check of library/header paths unconditional 2023-02-05 15:11:25 +01:00
Config.in.legacy package/linux-headers: drop 6.3.x option 2023-07-20 23:30:28 +02:00
COPYING
DEVELOPERS package/go-bootstrap: split into two stages: go1.4 and go1.19.10 2023-07-22 22:59:27 +02:00
Makefile Kickoff 2023.08 cycle 2023-06-09 18:08:27 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches