Go to file
Yann E. MORIN 32e2636c51 toolchain/wrapper: fix potential bug in foreach loop
In Makefile, the comma ',' is used to separate the arguments passed to
functions, so we should not be allowed to use straight commas in strings
we want to expand.

For the toolchain wrapper, we need to transform a list:
    -mfoo -mbar -mbuz

into something acceptable for a C array assignment:
    "-mfoo", "-mbar", "-mbuz",

So, we use a $(foreach ...) loop for that. However, we do have a
straight comma in there.

It does not cause any issue in practice, since $(foreach) is a make
builtin function that accepts three and only three parameters.

However, this is not sane.

Change the straight comma to the usual $(comma) expansion, like we would
do for a call to any other function.

At the same time, make the code a bit easier to read, by first creating
the transformed list, and then creating the define.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-25 23:01:48 +01:00
arch arch/arm: use EABIhf by default with VFP 2015-10-25 19:56:20 +01:00
board board: ARC AXS10x bump Linux kernel to 4.2.4 2015-10-25 22:10:48 +01:00
boot uboot: bump version to 2015.10 2015-10-25 21:50:41 +01:00
configs board: ARC AXS10x bump Linux kernel to 4.2.4 2015-10-25 22:10:48 +01:00
docs Revert "manual: Add notes about GitHub and hashes" 2015-10-18 17:59:40 +02:00
fs fs/axfs: fix URL indentation 2015-10-15 21:59:39 +02:00
linux linux: bump default version to 4.2.4 2015-10-23 09:27:04 +02:00
package gst1-plugins-bad: add x265 plugin 2015-10-25 22:30:34 +01:00
support support/mkusers: allow comments in users tables 2015-10-18 17:52:21 +02:00
system system/skeleton: finalize removal of ftp user 2015-10-18 17:56:14 +02:00
toolchain toolchain/wrapper: fix potential bug in foreach loop 2015-10-25 23:01:48 +01:00
.defconfig arch: kill avr32 2015-02-14 17:39:50 +01:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
CHANGES Update for 2015.08 2015-08-31 23:06:58 +02:00
Config.in ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
Config.in.legacy gst1-plugins-bad: update configure options 2015-10-21 23:36:37 +02:00
COPYING clarify license and fix website license link 2009-05-08 09:29:41 +02:00
Makefile ccache: allow for BR2_CCACHE_DIR environment override 2015-10-17 16:32:41 +02:00
Makefile.legacy Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG 2014-02-11 08:14:57 +01:00
README README: mention 'make list-defconfigs' 2015-04-04 15:19:43 +02: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.