mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
e3681379ecf43c99e390dbec4553bca9852100b0
gnu-efi fails to build if TOPDIR is exported in the environment since the move to version 3.0.18 in commit9efeb7e914("package/gnu-efi: bump to version 3.0.18"). The reason is the change in TOPDIR logic introduced by upstream commit 31913f8489 ("Make: make TOPDIR actually work and get rid of unused CDIR"):31913f8489export TOPDIR=foo; make gnu-efi ... /path/to/buildroot/output-gnuefi/host/bin/aarch64-linux-ld: cannot find /path/to/buildroot/output-gnuefi/build/gnu-efi-4.0.0//apps/../aarch64/gnuefi/crt0-efi-aarch64.o: No such file or director make[2]: *** [Makefile:89: apps] Error 2 make[1]: *** [package/pkg-generic.mk:273: /path/to/buildroot/output-gnuefi/build/gnu-efi-4.0.0/.stamp_built] Error 2 make: *** [Makefile:23: _all] Error 2 As a workaround, unexport TOPDIR like we do for other sensitive environment variables. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit2b5544ab7a) 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.6%
Python
18.8%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.2%