1a8ed4da70bb795b4a35f774f65321bf4a943b05
Since the bump of rpm from 4.17.0 to 4.18.0 in Buildroot commit4b4046e919, tools/rpmuncompress.c uses basename() without including <libgen.h> which causes a build failure with the musl C library: tools/rpmuncompress.c: In function ‘doUntar’: tools/rpmuncompress.c:100:30: error: implicit declaration of function ‘basename’ [-Wimplicit-function-declaration] 100 | const char *bn = basename(fn); | ^~~~~~~~ tools/rpmuncompress.c:100:30: error: initialization of ‘const char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] make[4]: *** [Makefile:1082: tools/rpmuncompress.o] Error 1 This issue was not found by the autobuilders, but it can be reproduced with: BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE=y BR2_PACKAGE_LUA=y BR2_PACKAGE_RPM=y Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit745aa4d060) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
…
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
Description
Languages
Makefile
62.9%
Python
18.3%
C
8.6%
Shell
6.2%
PHP
1.4%
Other
2.2%