Go to file
Thomas De Schampheleire 690ed04845 linux: provide symlink dtc->linux-dtc is there is no dtc yet
Commit ab74e09eb4 renamed the dtc host tool
provided by linux to linux-dtc to avoid clashes with the dtc host tool
provided by host-dtc.

However, external scripting may well rely on the existence of a device tree
compiler as $(HOST_DIR)/usr/bin/dtc, regardless of its source. Changing
these external scripts to use linux-dtc means that the scripts need to be
aware of the buildroot release they are working with, which is not very
nice.

Add a symlink dtc->linux-dtc when no $(HOST_DIR)/usr/bin/dtc is present.
When host-dtc is not enabled, the end result will be dtc and
linux-dtc representing the same thing.
When host-dtc is enabled, either it is build before linux and no symlink
is created at any time, or it is build after linux, and the 'install'
command in host-dtc will overwrite the symlink with a proper dtc. In both
cases, the end result will be dtc and linux-dtc representing a different
thing.

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-05-31 22:40:34 +02:00
arch
board configs: mx53loco: use genimage to generate sdcard image 2016-05-31 21:27:47 +02:00
boot boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
configs configs: remove trailing directory slashes 2016-05-31 21:56:29 +02:00
docs Update for 2016.05-rc1 2016-05-10 23:26:50 +02:00
fs fs/common: fix typo in comments 2016-05-08 15:34:52 +02:00
linux linux: provide symlink dtc->linux-dtc is there is no dtc yet 2016-05-31 22:40:34 +02:00
package package/x11r7/xdriver_xf86-video-mga: disable DRI support when not available 2016-05-31 22:33:35 +02:00
support python/python3: globalize *.pyc files compilation 2016-05-26 22:07:35 +02:00
system
toolchain toolchain-external: bump CodeSourcery NIOSII to 2016.05 2016-05-23 17:36:11 +02:00
.defconfig
.gitignore
CHANGES Update for 2016.05-rc1 2016-05-10 23:26:50 +02:00
Config.in Config.in: wrap to column width 72 2016-05-31 21:41:53 +02:00
Config.in.legacy binutils: remove support for version 2.23 2016-05-17 08:52:02 +02:00
COPYING
Makefile Update for 2016.05-rc1 2016-05-10 23:26:50 +02:00
Makefile.legacy
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