Go to file
Yann E. MORIN 7979d1ba71 core/br2-external: fix use of relative paths
Fixes #9576

When the path to a br2-external tree is relative, make enters an endless
recursive loop (paths elided for brevity):

    $ make BR2_EXTERNAL=.. foo_defconfig
    make[1]: stat: ../configs/../configs/../configs[...]/toto_defconfig: Filename too long
    make[1]: *** No rule to make target '../configs/../configs/../configs[...]/toto_defconfig',
    needed by '../configs/../configs/../configs[...]/toto_defconfig'.  Stop.
    Makefile:79: recipe for target '_all' failed
    make: *** [_all] Error 2

It is a bit complex to understand the actual technical reason for this
never-ending expansion; it seems it happens in the code generated by the
percent_defconfig macro. Not sure why, though...

But the root cause is the relative path.

Just use absolute, canonical paths to br2-external trees. Always.

[Peter: add bugzilla reference]
Reported-by: outtierbert@gmail.com
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

(cherry picked from commit 05576fca13)
2017-01-23 16:33:55 +01:00
arch MIPS: rename M6201 core to M6250 2016-11-09 22:42:12 +01:00
board roseapplepi: add kernel patches to fix linux build issues with gcc 5 2016-11-28 23:09:23 +01:00
boot uboot: fix custom patch dir legacy handling 2016-12-20 22:46:17 +01:00
configs configs/mx6: Bump to kernel 4.8.11 2016-11-27 22:17:35 +01:00
docs Update for 2016.11 2016-11-30 23:16:22 +01:00
fs Revert "fs: use pseudo instead of fakeroot" 2016-11-27 21:24:10 +01:00
linux linux: bump default to version 4.8.11 2016-11-26 15:30:50 +01:00
package runc: security bump to fix CVE-2016-9962 2017-01-23 15:51:32 +01:00
support core/br2-external: fix use of relative paths 2017-01-23 16:33:55 +01:00
system system: fix typo 2016-10-13 08:06:11 +02:00
toolchain MIPS: rename M5101 core to M5150 2016-11-09 22:41:51 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore
CHANGES CHANGES: update for 2016.11.1 2016-12-29 21:41:23 +01:00
Config.in Config.in: add BR2_HOST_GCC_AT_LEAST_4_5 2016-10-26 21:11:34 +02:00
Config.in.legacy uboot: fix custom patch dir legacy handling 2016-12-20 22:46:17 +01:00
COPYING
DEVELOPERS DEVELOPERS: remove Gregory Hermant 2016-11-09 22:52:37 +01:00
Makefile Update for 2016.11.1 2016-12-29 21:54:33 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
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 Freenode IRC.

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