Skip to content

Commit 13aa1e9

Browse files
Add new version of buildroot
1 parent 4850fa2 commit 13aa1e9

14,533 files changed

Lines changed: 564083 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

buildroot/CHANGES

Lines changed: 14557 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/COPYING

Lines changed: 355 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/Config.in

Lines changed: 1002 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/Config.in.legacy

Lines changed: 5818 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/DEVELOPERS

Lines changed: 3451 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/Makefile

Lines changed: 1279 additions & 0 deletions
Large diffs are not rendered by default.

buildroot/Makefile.legacy

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#
2+
# Makefile.legacy - support for backward compatibility
3+
#
4+
# This file contains placeholders to detect backward-compatibility problems.
5+
# When a buildroot "API" feature is being deprecated, a rule should be added
6+
# here that issues an error when the old feature is used.
7+
8+
ifeq ($(BR2_LEGACY),y)
9+
$(error "You have legacy configuration in your .config! Please check your configuration.")
10+
endif
11+
12+
#
13+
# Legacy options from 2014.02
14+
#
15+
16+
# The BUILDROOT_DL_DIR environment variable was renamed by BR2_DL_DIR. We
17+
# want to detect someone using the old variable, _except_ if also the new
18+
# variable was set. By the time we get here, however, we no longer have
19+
# access to the BR2_DL_DIR environment variable (because it has been overridden
20+
# by the .config inclusion). However, the environment variable (if defined) was
21+
# saved in DL_DIR, so we can use that.
22+
ifneq ($(BUILDROOT_DL_DIR),)
23+
ifneq ($(BUILDROOT_DL_DIR),$(DL_DIR))
24+
$(error "The BUILDROOT_DL_DIR environment variable was renamed to BR2_DL_DIR.")
25+
endif
26+
endif
27+
28+
# If a script is using the deprecated BUILDROOT_CONFIG, make sure it fails.
29+
# Add some directories in front just in case someone used dirname on it.
30+
BUILDROOT_CONFIG_FAKE = /tmp/deprecated/The-BUILDROOT_CONFIG-environment-variable-was-renamed-to-BR2_CONFIG
31+
32+
# Similar to above for BUILDROOT_CONFIG, but here we have no .config equivalent.
33+
ifneq ($(BUILDROOT_CONFIG),)
34+
ifneq ($(BUILDROOT_CONFIG),$(BR2_CONFIG))
35+
ifneq ($(BUILDROOT_CONFIG),$(BUILDROOT_CONFIG_FAKE))
36+
$(error "The BUILDROOT_CONFIG environment variable was renamed to BR2_CONFIG.")
37+
endif
38+
endif
39+
endif
40+
41+
BUILDROOT_CONFIG = $(BUILDROOT_CONFIG_FAKE)
42+
export BUILDROOT_CONFIG
43+
44+
#
45+
# Legacy options from 2012.08
46+
#
47+
48+
host-pkg-config:
49+
@$(call MESSAGE,host-pkg-config is replaced by host-pkgconf)
50+
@$(call MESSAGE,please update your .mk files)
51+
@false
52+
.PHONY: host-pkg-config
53+
54+
#
55+
# Legacy options from 2012.05
56+
#
57+
GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval $$$$(host-generic-package)))
58+
AUTOTARGETS = $$(error The AUTOTARGETS macro no longer exists; use $$$$(eval $$$$(autotools-package)) or $$$$(eval $$$$(host-autotools-package)))
59+
CMAKETARGETS = $$(error The CMAKETARGETS macro no longer exists; use $$$$(eval $$$$(cmake-package)) or $$$$(eval $$$$(host-cmake-package)))

buildroot/README

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Buildroot is a simple, efficient and easy-to-use tool to generate embedded
2+
Linux systems through cross-compilation.
3+
4+
The documentation can be found in docs/manual. You can generate a text
5+
document with 'make manual-text' and read output/docs/manual/manual.text.
6+
Online documentation can be found at http://buildroot.org/docs.html
7+
8+
To build and use the buildroot stuff, do the following:
9+
10+
1) run 'make menuconfig'
11+
2) select the target architecture and the packages you wish to compile
12+
3) run 'make'
13+
4) wait while it compiles
14+
5) find the kernel, bootloader, root filesystem, etc. in output/images
15+
16+
You do not need to be root to build or run buildroot. Have fun!
17+
18+
Buildroot comes with a basic configuration for a number of boards. Run
19+
'make list-defconfigs' to view the list of provided configurations.
20+
21+
Please feed suggestions, bug reports, insults, and bribes back to the
22+
buildroot mailing list: buildroot@buildroot.org
23+
You can also find us on #buildroot on OFTC IRC.
24+
25+
If you would like to contribute patches, please read
26+
https://buildroot.org/manual.html#submitting-patches

0 commit comments

Comments
 (0)