Go to file
Yann E. MORIN 05576fca13 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>
2017-01-16 13:55:09 +01:00
arch arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode 2016-12-08 22:32:17 +01:00
board configs/liteboard: Bump Linux to 4.9.2 2017-01-13 16:17:49 +01:00
boot boot/uboot: bump to version 2017.01 2017-01-09 21:14:19 +01:00
configs configs/liteboard: Bump Linux to 4.9.2 2017-01-13 16:17:49 +01:00
docs docs: Add bc to required tools 2017-01-06 12:18:30 +01:00
fs fs/tar: make --no-recursion effective 2016-12-28 10:13:21 +01:00
linux linux: bump default to version 4.9.4 2017-01-16 13:43:07 +01:00
package agentpp: bump to 4.0.7 2017-01-16 13:45:07 +01:00
support core/br2-external: fix use of relative paths 2017-01-16 13:55:09 +01:00
system system: fix typo 2016-10-13 08:06:11 +02:00
toolchain toolchain: bump Codescape MTI MIPS version to 2016.05-06 2017-01-16 13:10:24 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES CHANGES: update for 2016.11.1 2016-12-29 22:13:23 +01:00
Config.in package/google-breakpad: really fix the C++11 dependency 2016-12-22 10:36:20 +01:00
Config.in.legacy perl-db-file: remove this package 2016-12-27 18:00:50 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: Add entry for upower 2017-01-09 09:42:59 +01:00
Makefile Makefile: move SED definition into the main Makefile 2016-12-06 20:40:10 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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