Go to file
Yann E. MORIN cc05f407bc core/pkg-utils: add macro to escape-and-printf
In some cases we need to escape make variables and pass them to
printf(1).

This is the case in our fs infra, where we want to shoe-horn the
commands to generate the filesystems in the fakeroot script, or the
devices, permissions and users tables to their respective files.

We currently do so by replacing $(sep) with the literal '\n' but that's
not enough. This does not protect against strings with an embedded '%'
or a backslash.

Add a new macro that properly escapes a string and calls printf(1), so
that we get the expected output.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-07 22:20:53 +02:00
arch m68k: remove BR2_GCC_TARGET_ARCH 2016-06-07 13:11:59 +02:00
board configs/beaglebone: Add missing genimage.cfg file 2016-06-07 21:31:08 +02:00
boot boot/barebox: use the generic help rules 2016-06-07 22:12:08 +02:00
configs configs/beaglebone: Bump U-Boot version 2016-06-06 22:39:57 +02:00
docs core/pkg-generic: add support for package-defined help 2016-06-07 21:36:04 +02:00
fs fs/cloop: split long line 2016-06-06 23:19:26 +02:00
linux linux: use the generic help rules 2016-06-07 22:10:20 +02:00
package core/pkg-utils: add macro to escape-and-printf 2016-06-07 22:20:53 +02:00
support support/gnuconfig: bump version to 2016-05-15 2016-06-05 22:26:57 +02:00
system system: add help entry to "none" init system 2016-05-28 10:58:34 +02:00
toolchain uclibc: the internal toolchain only uses uClibc-ng 2016-06-06 22:26:08 +02:00
.defconfig arch/x86: remove support for i386 2016-04-18 23:38:34 +02:00
.gitignore
CHANGES Update for 2016.05 2016-05-31 23:52:36 +02:00
Config.in Config.in: add BR2_HOST_GCC_AT_LEAST_6 2016-06-06 21:41:08 +02:00
Config.in.legacy uclibc: update to 1.0.15 2016-06-01 21:23:29 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
Makefile boot/barebox: use the generic help rules 2016-06-07 22:12:08 +02:00
Makefile.legacy
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