Questions tagged [buildroot]

Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system, from the cross-compilation toolchain to the complete image for flashing.

Buildroot is a set of Makefiles and patches that makes it easy to generate a complete embedded Linux system. Buildroot can generate any or all of a cross-compilation toolchain, a root filesystem, a kernel image and a bootloader image.

Whenever you post a question about a Buildroot build failure, please always specify the Buildroot version you're using, and attach the complete Buildroot .config file. Without these details, there is absolutely nothing that the Buildroot developers can do to help you.

810 questions
1
vote
1 answer

Where Buildroot exports configuration symbols

I want to know where in the code buildroot exports the configuration symbols so that they can be read in the .mk for each package: Example: In the package exim.mk there is a test on BR2_PACKAGE_OPENSSL value: ifeq ($(BR2_PACKAGE_OPENSSL),y) The…
Mouin
  • 1,025
  • 4
  • 19
  • 33
1
vote
0 answers

Getting buildroot to put Grub2 in target filesystem

I am making two buildroot projects. one is used to build a bootable CD/USB/VM image. the other build an image to be installed from the CD. the flow is: CD boots initramfs starts find hard disk partition and format hard disk install rootfs image…
1
vote
1 answer

buildroot error when compiling wpa_supplicant

I've got an error while building wpa_supplicant with buildroot home@debian-host:/build/buildroot# make >>> wpa_supplicant 2.6…
stefff
  • 61
  • 2
  • 5
1
vote
1 answer

Import Error: cannot import name get_importer

I'm trying to run the scanpypi script - support script of the Buildroot (2017.02) but I'm getting the following error: Traceback (most recent call last): File "./support/scripts/scanpypi", line 52, in import setuptools File…
TimoV
  • 23
  • 2
  • 5
1
vote
0 answers

(Buildroot raspberry pi 3) Kernel panic not syncing : attempted to kill init

it's been nearly a week having this issue: I used buildroot-2017.02 to build firstly the toolchain for raspberry pi 3, then I cross-compiled the kernel using this toolchain. Then I flash the output image "sdcard.img" to the SD. When I turn on the…
Teckm
  • 41
  • 1
  • 6
1
vote
1 answer

Buildroot 'make -rebuild' same as 'make '?

On a Buildroot managed project I'd just checked-out, I've run -rebuild by mistake instead of make all followed by make -rebuild. When I found out my mistake, I was surprised the build had gone smoothly, without error, just as if I had run…
Bludzee
  • 2,733
  • 5
  • 38
  • 46
1
vote
1 answer

Use U-boot to flash sd card image

I have my raspberry pi zero, and during development I spend a lot of time to eject-inject SD card and re-flash it. SD card image is prepared in Buildroot, so it includes boot partition with kernel, device tree overlays and partition with rootfs. Is…
artsin
  • 1,434
  • 2
  • 13
  • 29
1
vote
1 answer

Buildroot MakeFile for aws-iot-device-sdk-cpp

I'm using buildroot and I am trying to cross compile the AWS IOT cmake library found here: https://github.com/aws/aws-iot-device-sdk-cpp I have another buildroot makefile ( the correctly compiles ) for the different AWS sdk from…
PhilBot
  • 748
  • 18
  • 85
  • 173
1
vote
3 answers

Linux kernel defconfig options not in resulting .config using BuildRoot

I am building kernel version 2.6.39.4 via BuildRoot for an arm target. I am using a custom defconfig file, into which I added the following 3 options: CONFIG_WIRELESS=y CONFIG_WEXT_PRIV=y CONFIG_WIRELESS_EXT=y In the resulting .config file for the…
BackDoorNoBaby
  • 1,445
  • 2
  • 13
  • 20
1
vote
2 answers

Setting environment variables for a single package

My current Buildroot configuration includes a package whose source is hosted on a GitLab server. Unfortunately this server has errors with its SSL certificate; when Buildroot reaches this package it tries to clone the repository, but Git throws an…
Matt K
  • 598
  • 5
  • 19
1
vote
1 answer

How to make WebIOPi package in buildroot, getting buildroot error 127 when making

I've tried to make a WebIOPi package for in buildroot for a raspberrypi 3. But i get the following error from buildroot after the command make: /bin/bash: ./configure: No such file or directory package/pkg-generic.mk:206: recipe for target…
Michaël
  • 178
  • 1
  • 7
1
vote
0 answers

Buildroot devicetree overlay for MCP2515

I have connected an MCP2515 to the Raspberry Compute-Module and now it would be nice if I could make it work. We use a distribution based on buildroot - but unfortunately we can't manage to load the devicetree-overlay for the MCP2515. We activated…
1
vote
0 answers

Buildroot: qt application with an empty install target

I am integrating my own Qt app into buildroot. *.mk file follows. CATCHER_SITE=http://g7/gitlab/igorsk/catcher.git CATCHER_SITE_METHOD=git CATCHER_VERSION=master CATCHER_DEPENDENCIES=qt ifeq ($(BR2_PACKAGE_QT5),y) CATCHER_QMAKE =…
Igor S.K.
  • 999
  • 6
  • 17
1
vote
1 answer

How to make an option depends on the library version in buildroot

I have an option in the buildroot menu that can be activated only if the version of MY_LIBRARY is greater 2.0. the library version is configured in the Kconfig file as follow config MY_LIBRARY_VERSION string "1.0" help gives the version…
Mouin
  • 1,025
  • 4
  • 19
  • 33
1
vote
0 answers

Get different ELF flags when compiling kernel module versus usermode program

I am using buildroot to build tun.c kernel module (tun/tap kernel module) for Linux kernel 2.6.33. I customised the buildroot for the appropriate architecture and ELF flags. When I compile user mode program like: int main() { printf("hello…
ssdfdsfsd
  • 21
  • 3