Buildroot fork.
 
 
 
 
 
 
Go to file
Thomas De Schampheleire a1bb132a81 utils/checkpackagelib/lib_mk.py: handle 'else' and 'elif' statements
An 'else' or 'elif' clause inside a make conditional should not be indented
in the same way as the if/endif clause. check-package did not recognize the
else statement and expected an indentation.

For example:

ifdef FOOBAR
	interesting
else
	more interesting
endif

would, according to check-package, need to become:

ifdef FOOBAR
	interesting
	else
	more interesting
endif

Treat 'else' and 'elif' the same as if-like keywords in the Indent test, but
take into account that 'else' is also valid shell, so we need to correctly
handle line continuation to prevent complaining about the 'else' in:

ifdef FOOBAR
	if true; \
	    ... \
	else \
	    ... \
	fi
endif

We don't add the 'else' and 'elif' statements to start_conditional, because
it would cause incorrect nesting counting in class OverriddenVariable.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-02 13:54:59 +01:00
arch arch/Config.in.powerpc: Drop PPC601 support 2020-12-15 19:30:03 +01:00
board configs/rock64: new defconfig 2020-12-31 17:39:24 +01:00
boot boot/mv-ddr-marvell: Bump to HEAD as of 20201207 2020-12-30 10:29:05 +01:00
configs configs/rock64: new defconfig 2020-12-31 17:39:24 +01:00
docs docs/website: update for 2020.02.9 2020-12-27 18:24:10 +01:00
fs fs/jffs2: copy xattrs 2020-10-08 21:48:03 +02:00
linux {linux, linux-headers}: bump 5.{4, 9, 10}.x series 2020-12-28 22:32:21 +01:00
package package/popperjs: new package 2021-01-02 12:26:18 +01:00
support package/lualdap: new package 2020-12-31 15:13:06 +01:00
system system: support br2-external init systems 2020-10-14 22:48:42 +02:00
toolchain package/glibc, toolchain/toolchain-buildroot: disable native RPC in glibc toolchains 2020-12-29 23:28:57 +01:00
utils utils/checkpackagelib/lib_mk.py: handle 'else' and 'elif' statements 2021-01-02 13:54:59 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml gitlab-ci: update the image version 2020-08-15 09:47:00 +02:00
CHANGES Update for 2020.02.9 2020-12-27 18:22:23 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
Config.in Config.in: update BR2_OPTIMIZE_FAST prompt and help text 2020-07-18 16:05:01 +02:00
Config.in.legacy package/gdb: drop gdb 8.2 2020-12-29 22:43:14 +01:00
DEVELOPERS package/popperjs: new package 2021-01-02 12:26:18 +01:00
Makefile Kickoff 2021.02 cycle 2020-12-03 08:43:41 +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

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